Skip to content

Commit

Permalink
fix: output path incorrectly set
Browse files Browse the repository at this point in the history
  • Loading branch information
lightpohl committed Aug 3, 2021
1 parent db2b11b commit 03d99fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,14 +246,14 @@ const main = async () => {
continue;
}

const outputPodcastPath = _path.resolve(basePath, episodeFilename);
const episodeFilename = getFilename({
item,
feed,
url: episodeAudioUrl,
ext: audioFileExt,
template: episodeTemplate,
});
const outputPodcastPath = _path.resolve(basePath, episodeFilename);

try {
await download({
Expand Down

0 comments on commit 03d99fb

Please sign in to comment.