mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-13 09:25:44 +01:00
Normailze path in 'set cwd' rather than in File.joinPaths. Fixes issue #11.
This commit is contained in:
@@ -547,8 +547,6 @@ const File = Class("File", {
|
||||
try {
|
||||
// FIXME: should only expand env vars and normalise path separators
|
||||
path.appendRelativePath(this.expandPath(tail, true));
|
||||
if (path.exists())
|
||||
path.normalize();
|
||||
}
|
||||
catch (e) {
|
||||
return { exists: function () false, __noSuchMethod__: function () { throw e; } };
|
||||
|
||||
Reference in New Issue
Block a user