We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edf6425 commit d3eeb99Copy full SHA for d3eeb99
generator/cmd/generateall.ts
@@ -56,8 +56,12 @@ executeSynchronous(async () => {
56
// resolve absolute path
57
summaryPath = await resolveAbsolutePath(summaryPath);
58
59
- if (args['batch-count'] !== undefined && args['batch-index'] !== undefined) {
60
- basePaths = chunker(basePaths, args['batch-count'])[args['batch-index']];
+ const batchIndex = args['batch-index'];
+ const batchCount = args['batch-count'];
61
+ if (batchCount !== undefined && batchIndex !== undefined) {
62
+ basePaths = chunker(basePaths, batchCount)[batchIndex];
63
+
64
+ console.log(`Generating following base paths for batch ${batchIndex}: ${JSON.stringify(basePaths, null, 2)}`);
65
}
66
67
const schemaConfigs: SchemaConfiguration[] = [];
0 commit comments