@@ -24,13 +24,11 @@ export class BatchCommandCreator extends BaseCommandCreator<IBatchCommandOptions
2424 common : {
2525 strip : createStripOptions ( options , config ) ,
2626 backupOriginal : options . backup ?? config . output ?. createBackup ,
27- overwriteBackup :
28- options . overwriteBackup ?? config . output ?. overwriteBackup ,
27+ overwriteBackup : options . overwriteBackup ?? config . output ?. overwriteBackup ,
2928 bom : options . bom ?? config . output ?. bom ,
3029 lineEndings : options . lineEndings ?? config . output ?. lineEndings ,
3130 overwriteInput : options . overwriteInput ?? config . output ?. overwriteInput ,
32- overwriteExisting :
33- options . overwriteExisting ?? config . output ?. overwriteExisting ,
31+ overwriteExisting : options . overwriteExisting ?? config . output ?. overwriteExisting ,
3432 retryCount : options . retryCount
3533 ? parseInt ( options . retryCount , 10 )
3634 : config . batch ?. retryCount ,
@@ -43,19 +41,11 @@ export class BatchCommandCreator extends BaseCommandCreator<IBatchCommandOptions
4341 outputDir : options . outputDir ?? config . output ?. directory ,
4442 recursive : options . recursive ?? config . batch ?. recursive ?? false ,
4543 parallel : options . parallel ?? config . batch ?. parallel ?? false ,
46- skipExisting :
47- options . skipExisting ?? config . batch ?. skipExisting ?? false ,
48- maxDepth : options . maxDepth
49- ? parseInt ( options . maxDepth , 10 )
50- : config . batch ?. maxDepth ,
51- includeDirectories :
52- options . includeDirs ?? config . batch ?. includeDirectories ,
53- excludeDirectories :
54- options . excludeDirs ?? config . batch ?. excludeDirectories ,
55- preserveStructure :
56- options . preserveStructure ??
57- config . batch ?. preserveStructure ??
58- false ,
44+ skipExisting : options . skipExisting ?? config . batch ?. skipExisting ?? false ,
45+ maxDepth : options . maxDepth ? parseInt ( options . maxDepth , 10 ) : config . batch ?. maxDepth ,
46+ includeDirectories : options . includeDirs ?? config . batch ?. includeDirectories ,
47+ excludeDirectories : options . excludeDirs ?? config . batch ?. excludeDirectories ,
48+ preserveStructure : options . preserveStructure ?? config . batch ?. preserveStructure ?? false ,
5949 chunkSize : options . chunkSize ?? config . batch ?. chunkSize ,
6050 } ,
6151 } ;
0 commit comments