Skip to content

Commit 44f9770

Browse files
committed
Bug fix: JSON filesystem was changing the save path array
1 parent 8a95583 commit 44f9770

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cloud-storage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ JSONFileSystem = window.JSONFileSystem = function ( jsonObject )
414414
// The file does not exist.
415415
// Does its parent folder exist? Let's check.
416416
try {
417+
fullPath = fullPath.slice();
417418
var fileName = fullPath.pop();
418419
var parentFolder = find( fullPath, 'folder' );
419420
// Yes, it exists! Create a new file there.

0 commit comments

Comments
 (0)