Skip to content

Commit

Permalink
feat: change option name
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Feb 29, 2020
1 parent 80f1bca commit cba5b23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/index.js
Expand Up @@ -167,7 +167,7 @@ program
program
.command('setup [config]')
.description('Run the NodeBB setup script, or setup with an initial config')
.option('--no-build', 'Run setup without building assets')
.option('--skip-build', 'Run setup without building assets')
.action(function (initConfig) {
if (initConfig) {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/cli/setup.js
Expand Up @@ -32,7 +32,7 @@ function setup(initConfig) {

prestart.loadConfig(configFile);

if (!nconf.get('no-build')) {
if (!nconf.get('skip-build')) {
build.buildAll(next);
} else {
setImmediate(next);
Expand Down

0 comments on commit cba5b23

Please sign in to comment.