1
0
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:
Ted Pavlic
2008-12-16 16:00:07 -05:00
parent 43f1e05a37
commit fb2751faf7

View File

@@ -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;
}