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 3ef974b commit f9ddaa3Copy full SHA for f9ddaa3
src/index.js
@@ -63,7 +63,7 @@ exports.main = (files, argv = {}) => {
63
64
if (argv.d) {
65
fs.writeFileSync(
66
- path.join(argv.d, `${path.parse(files[index]).name}.json`),
+ path.join(argv.d, `${displayName || `file_${index}`}.json`),
67
JSON.stringify(acc[displayName], null, argv.minified ? undefined : 4)
68
);
69
}
0 commit comments