Skip to content

Commit

Permalink
Apply code review suggestions from @RyanZim
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Oct 26, 2023
1 parent 5f28c73 commit 7ab00d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/move/move.js
Expand Up @@ -19,7 +19,7 @@ async function move (src, dest, opts = {}) {
const destParent = path.dirname(dest)
const parsedParentPath = path.parse(destParent)
if (parsedParentPath.root !== destParent) {
await mkdirp(path.dirname(dest))
await mkdirp(destParent)
}

return doRename(src, dest, overwrite, isChangingCase)
Expand Down

0 comments on commit 7ab00d5

Please sign in to comment.