mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: change option name
This commit is contained in:
@@ -167,7 +167,7 @@ program
|
|||||||
program
|
program
|
||||||
.command('setup [config]')
|
.command('setup [config]')
|
||||||
.description('Run the NodeBB setup script, or setup with an initial 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) {
|
.action(function (initConfig) {
|
||||||
if (initConfig) {
|
if (initConfig) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ function setup(initConfig) {
|
|||||||
|
|
||||||
prestart.loadConfig(configFile);
|
prestart.loadConfig(configFile);
|
||||||
|
|
||||||
if (!nconf.get('no-build')) {
|
if (!nconf.get('skip-build')) {
|
||||||
build.buildAll(next);
|
build.buildAll(next);
|
||||||
} else {
|
} else {
|
||||||
setImmediate(next);
|
setImmediate(next);
|
||||||
|
|||||||
Reference in New Issue
Block a user