Skip to content

Commit

Permalink
Sort file names so that output is always consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
CWSpear committed Oct 11, 2019
1 parent f71daab commit b2a94b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const configFileName = 'nest-sdk-gen.config.json';
})
.setOrder(0);

const paths: string[] = await globby(config.paths);
const paths: string[] = _.orderBy(await globby(config.paths), p => p.toLowerCase());

paths.forEach(filePath => {
filePath = path.resolve(rootPath, filePath);
Expand Down

0 comments on commit b2a94b7

Please sign in to comment.