Skip to content

Commit

Permalink
Fix output path
Browse files Browse the repository at this point in the history
  • Loading branch information
simonewebdesign committed May 11, 2021
1 parent 8034aaf commit c557c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ fs.readFile(source, 'utf8', (err, data) => {
process.exit(1);
}
const out = svgToMiniDataURI(data);
dest ? fs.writeFileSync(out) : console.log(out);
dest ? fs.writeFileSync(dest, out) : console.log(out);
});

0 comments on commit c557c5e

Please sign in to comment.