Skip to content

Commit

Permalink
fix test attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfujii committed Oct 10, 2024
1 parent fcd2084 commit 5277b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path');

const args = process.argv.slice(2);
const [sourceFile, destination] = args;
let destinationPath;
let destinationPath = '';

if (fs.existsSync(destination) && fs.lstatSync(destination).isDirectory()) {
destinationPath = path.join(destination, `\\${path.basename(sourceFile)}`);
Expand Down

0 comments on commit 5277b46

Please sign in to comment.