更新了initServer时的默认行为
This commit is contained in:
parent
a2cca9dd46
commit
cd7afc29a3
|
|
@ -4,7 +4,7 @@ const assert = require('assert');
|
|||
const pwd = process.cwd();
|
||||
|
||||
const ifExists = process.argv[2];
|
||||
assert(['drop' , 'omit' , 'dropIfNotStatic'].includes(ifExists), "第二个参数只能是'drop' | 'omit' | 'dropIfNotStatic'");
|
||||
assert(!ifExists || ['drop' , 'omit' , 'dropIfNotStatic'].includes(ifExists), "第二个参数只能是'drop' | 'omit' | 'dropIfNotStatic'");
|
||||
|
||||
initialize(
|
||||
pwd,
|
||||
|
|
|
|||
Loading…
Reference in New Issue