1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 09:42:28 +01:00

Reformat try-catch block.

This commit is contained in:
Kris Maglione
2008-12-16 16:31:33 -05:00
parent fb2751faf7
commit ad94daa5a7

View File

@@ -119,7 +119,10 @@ function IO() //{{{
{
let path = ioManager.getFile(head);
path.appendRelativePath(ioManager.expandPath(tail)); // FIXME: should only expand env vars and normalise path separators
try { path.normalize(); }
try
{
path.normalize();
}
catch(e) {}
return path;
}