mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 11:05:52 +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);
|
let path = ioManager.getFile(head);
|
||||||
path.appendRelativePath(ioManager.expandPath(tail)); // FIXME: should only expand env vars and normalise path separators
|
path.appendRelativePath(ioManager.expandPath(tail)); // FIXME: should only expand env vars and normalise path separators
|
||||||
path.normalize();
|
try { path.normalize(); }
|
||||||
|
catch(e) {}
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user