diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-28 14:40:40 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-28 14:40:40 -0700 |
commit | 3b0856f2c69ea68f1771cce1772ad37eecf5deb5 (patch) | |
tree | 568488ae7227279d403c464ace57c31fd2cd1ae1 /src | |
parent | b6342e4cedcdb4fcd8cb61b1879c0aa839e03f52 (diff) |
avoid constant path normalization in getPath
Diffstat (limited to 'src')
-rw-r--r-- | src/library_fs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_fs.js b/src/library_fs.js index 409c8afd..a263714a 100644 --- a/src/library_fs.js +++ b/src/library_fs.js @@ -97,7 +97,7 @@ mergeInto(LibraryManager.library, { if (FS.isRoot(node)) { return path ? PATH.join2(node.mount.mountpoint, path) : node.mount.mountpoint; } - path = path ? PATH.join2(node.name, path) : node.name; + path = path ? node.name + '/' + path : node.name; node = node.parent; } }, |