From 6c61d48c8f3749d05bb9ae79d5f47d85bf95bb78 Mon Sep 17 00:00:00 2001 From: Ernest Wong Date: Sun, 2 Sep 2018 11:38:30 +1200 Subject: [PATCH] Filesystem: Fix typo with path concatenation during Rename --- lib/filesystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filesystem.js b/lib/filesystem.js index fada2cda..9fc30f8d 100644 --- a/lib/filesystem.js +++ b/lib/filesystem.js @@ -809,7 +809,7 @@ FS.prototype.Rename = function(olddirid, oldname, newdirid, newname) { } // For event notification near end of method. - var oldpath = this.GetFullPath(olddirid) + "/oldname"; + var oldpath = this.GetFullPath(olddirid) + "/" + oldname; var newid = this.Search(newdirid, newname); if (newid != -1) {