From cba5b23e234394fb91bac3cd1e4575f6c0662cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 28 Feb 2020 22:02:46 -0500 Subject: [PATCH] feat: change option name --- src/cli/index.js | 2 +- src/cli/setup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/index.js b/src/cli/index.js index 7362fe3847..6054fc51d0 100644 --- a/src/cli/index.js +++ b/src/cli/index.js @@ -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 { diff --git a/src/cli/setup.js b/src/cli/setup.js index e55a6bb740..897356b945 100644 --- a/src/cli/setup.js +++ b/src/cli/setup.js @@ -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);