Skip to content

Commit

Permalink
improve duplicate name error
Browse files Browse the repository at this point in the history
fixes #1138
  • Loading branch information
mifi committed Aug 12, 2022
1 parent 9161278 commit 8dac8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/outputNameTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function getOutSegError({ fileNames, filePath, outputDir }) {

if (error != null) return error;

if (hasDuplicates(fileNames)) return i18n.t('Template results in duplicate file names');
if (hasDuplicates(fileNames)) return i18n.t('Output file name template results in duplicate file names (you are trying to export multiple files with the same name.)');

return undefined;
}

0 comments on commit 8dac8e6

Please sign in to comment.