Skip to content

Commit

Permalink
fix(mc-scripts/extract-intl): fix console warning (#1703)
Browse files Browse the repository at this point in the history
* fix(mc-scripts/src/extract-intl): fix console warning

* chore: changeset
  • Loading branch information
mohib0306 authored Aug 26, 2020
1 parent 67e5e2c commit 9d62b85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/gold-olives-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-frontend/mc-scripts': patch
---

Fix console warning. Replaced `console.warning` with `console.warn`
2 changes: 1 addition & 1 deletion packages/mc-scripts/src/extract-intl.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const flags = mri(process.argv.slice(2), {
});
const commands = flags._;

console.warning(`
console.warn(`
This command has been deprecated. To extract React Intl message please refer to the "@formatjs/cli" message extraction.
https://formatjs.io/docs/getting-started/message-extraction
Expand Down

1 comment on commit 9d62b85

@vercel
Copy link

@vercel vercel bot commented on 9d62b85 Aug 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.