Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-hykin committed Oct 11, 2022
1 parent dd3fc3f commit 0d904fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/file_system.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export const FileSystem = {
return Deno.remove(itemInfo.path.replace(/\/+$/,""), {recursive: true})
}
},
normalize: Path.normalize,
normalize: (path)=>Path.normalize(path.path||path),
isAbsolutePath: Path.isAbsolute,
isRelativePath: (...args)=>!Path.isAbsolute(...args),
makeRelativePath: ({from, to}) => Path.relative(from.path || from, to.path || to),
Expand Down

0 comments on commit 0d904fb

Please sign in to comment.