Skip to content

Commit

Permalink
Fixing import issue with default verses
Browse files Browse the repository at this point in the history
  • Loading branch information
vipinpaul committed Oct 23, 2023
1 parent b933f20 commit a5eda30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/src/core/burrito/importBurrito.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const updateAudioDir = async (dir, path, fs, status) => {
if (rename.toLocaleLowerCase().includes(ext)) { return ext; }
});
if (extension.length > 0) {
const nameWithDefault = rename.toLowerCase().replace(extension[0], `_default${extension[0]}`);
const nameWithDefault = rename.replace(extension[0], `_default${extension[0]}`);
fs.rename(path.join(dir, 'audio', rename), path.join(dir, 'audio', nameWithDefault), (err) => {
if (err) {
logger.error('importBurrito.js', `Audio Rename - ${err}`);
Expand Down

0 comments on commit a5eda30

Please sign in to comment.