Skip to content

Commit

Permalink
fix: copy folder
Browse files Browse the repository at this point in the history
  • Loading branch information
emresudo committed Jan 6, 2024
1 parent d5a6c71 commit 87b956b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ app.post("/cp", async (req, res) => {
}

const sourceFolderPath = join(dir, source);
const destinationFolderPath = join(join(dir, destination), source);
const destinationFolderPath = join(dir, destination);

await cp(sourceFolderPath, destinationFolderPath, { recursive: true })

Expand Down

0 comments on commit 87b956b

Please sign in to comment.