mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	feat: change option name
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user