fix: 更新提交
This commit is contained in:
@@ -7,7 +7,7 @@ let outputPath: string = '';
|
||||
|
||||
let i = 2;
|
||||
while (i < process.argv.length) {
|
||||
let arg = process.argv[i];
|
||||
const arg = process.argv[i];
|
||||
switch(arg) {
|
||||
case '-configPath':
|
||||
configs = require(process.argv[i + 1]) as GenPackageConfig[];
|
||||
@@ -25,7 +25,7 @@ while (i < process.argv.length) {
|
||||
i += 2
|
||||
}
|
||||
|
||||
for (let item of configs) {
|
||||
let src = assetRootDirPath;
|
||||
for (const item of configs) {
|
||||
const src = assetRootDirPath;
|
||||
generator(src, outputPath, item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user