Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use logger to cliEntry and bin files #120

Merged
merged 7 commits into from Jan 28, 2019
Merged

Conversation

Esemesek
Copy link
Member

Use logger to cliEntry.js and bin.js files.

'npm uninstall -g react-native',
'npm install -g react-native-cli',
].join('\n')
].join('')
Copy link
Member

Choose a reason for hiding this comment

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

wouldn't it be better to join('\n') in this case?

? chalk.red(` Unrecognized command '${cmdName}'`)
: chalk.red(" You didn't pass any command"),
` Run ${chalk.cyan(
? ` Unrecognized command '${cmdName}'`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
? ` Unrecognized command '${cmdName}'`
? ` Unrecognized command "${cmdName}"`

@Esemesek Esemesek merged commit 2ff7ef9 into master Jan 28, 2019
@Esemesek Esemesek deleted the Esemesek/logger branch January 28, 2019 16:36
@Esemesek Esemesek restored the Esemesek/logger branch January 28, 2019 16:36
@thymikee thymikee deleted the Esemesek/logger branch February 16, 2019 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants