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

Skip npm name check when --no-publish is passed #324

Merged
merged 5 commits into from
Jan 12, 2019

Conversation

jdziat
Copy link
Contributor

@jdziat jdziat commented Jan 10, 2019

Added the check for no-publish to be only triggered when publish is true.

I Would like to add the skip name check as another flag personally. In case people still choose to publish packages.

cli.js Outdated Show resolved Hide resolved
cli.js Outdated Show resolved Hide resolved
@sindresorhus
Copy link
Owner

Can you fix the merge conflict?

@sindresorhus sindresorhus changed the title added check for cli.flag.publish before checking npm name. Skip npm name check when --no-publish is passed Jan 12, 2019
@sindresorhus sindresorhus merged commit 305ae9c into sindresorhus:master Jan 12, 2019
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.

2 participants