Skip to content

Commit

Permalink
try fix gh pages bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsLap committed Feb 23, 2024
1 parent 5610066 commit cbf0a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/lib/VirtualFS.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ const Vfs = {
},
// Function to rename a file
// newName MUST be the new exact name of the file
// NOT absolute
// HAS TO BE NOT absolute
async rename(path, newName, fsObject = this.fileSystem) {
const parts = path.split("/");
const oldName = parts.pop(); // remove last item from path to get dirname
Expand Down

0 comments on commit cbf0a24

Please sign in to comment.