Skip to content

Commit

Permalink
chore: Persist files.json output
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Dec 6, 2024
1 parent bcdb96b commit 1edad0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steps/processMapFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function prepareMapFile(): void {

return preparedPath;
});
const navigationPaths = {files: [...new Set(navigationPathsWithoutExtensions)]};
const navigationPaths = {files: [...new Set(navigationPathsWithoutExtensions)].sort()};
const filesMapBuffer = Buffer.from(JSON.stringify(navigationPaths, null, '\t'), 'utf8');
const mapFile = join(outputFolderPath, 'files.json');

Expand Down

0 comments on commit 1edad0f

Please sign in to comment.