mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-05 11:15:46 +01:00
Capture exception thrown by normalize on MacOSX. Feel free to revert. I did my best.
This commit is contained in:
@@ -119,7 +119,8 @@ function IO() //{{{
|
||||
{
|
||||
let path = ioManager.getFile(head);
|
||||
path.appendRelativePath(ioManager.expandPath(tail)); // FIXME: should only expand env vars and normalise path separators
|
||||
path.normalize();
|
||||
try { path.normalize(); }
|
||||
catch(e) {}
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user