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

CB-13303 : added noprod/production as an option, no prod turns off pr… #287

Closed
wants to merge 1 commit into from

Conversation

audreyso
Copy link
Contributor

@audreyso audreyso commented Oct 3, 2017

…oduction

Platforms affected

What does this PR do?

Added noprod/production as an option

What testing has been done on this change?

Checklist

  • Reported an issue in the JIRA database
  • Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • Added automated test coverage as appropriate for this change.

src/cli.js Outdated
// User explicitly did not pass in noprod
args.production = conf.get('production');
}
if (args.noprod === undefined) {
Copy link
Contributor

Choose a reason for hiding this comment

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

lets not offer noprod in config. Just args.production. We only need noprod like you have in line 454. Used to figure out of args.production is true or false.

src/cli.js Outdated
force: args.force || false
force: args.force || false,
production: args.production,
noprod: args.noprod || false
Copy link
Contributor

Choose a reason for hiding this comment

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

no need to pass noprod, it is only used to figure out production. Which you do on L454

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