Skip to content

Commit

Permalink
do glob singlethreaded to have always the file order output
Browse files Browse the repository at this point in the history
Signed-off-by: Charly Molter <[email protected]>
  • Loading branch information
lahabana committed Oct 6, 2023
1 parent 2246f97 commit 74c9478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi-tool/commands/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports.generateFiles = async (argv) => {
// configPath: redocConfigurationPath
});
let hasProblems = false;
let expandedFiles = await fg.glob(files)
let expandedFiles = await fg.glob(files, {concurrency: 1})
console.error('got all files', expandedFiles)
let apis = (await Promise.all(expandedFiles.map(async (filename) => {
// Check it's a openapi spec
Expand Down

0 comments on commit 74c9478

Please sign in to comment.