Skip to content

Commit

Permalink
Fix: emoji should default to true on darwin platforms (#3766)
Browse files Browse the repository at this point in the history
**Summary**

Fixes #3764. Follow up to #3126. Adds the missing `[bool]` type
descripter to `commander` definitions.

**Test plan**

Run `yarn` on macOS and enjoy your emojis responsibly.
  • Loading branch information
BYK authored and bestander committed Jun 30, 2017
1 parent 35ee7de commit 69574f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ commander.option(
);
commander.option('--cache-folder <path>', 'specify a custom folder to store the yarn cache');
commander.option('--mutex <type>[:specifier]', 'use a mutex to ensure only one yarn instance is executing');
commander.option('--emoji', 'enable emoji in output', process.platform === 'darwin');
commander.option('--emoji [bool]', 'enable emoji in output', process.platform === 'darwin');
commander.option('-s, --silent', 'skip Yarn console logs, other types of logs (script output) will be printed');
commander.option('--proxy <host>', '');
commander.option('--https-proxy <host>', '');
Expand Down

0 comments on commit 69574f6

Please sign in to comment.