mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 02:34:11 +01:00
Reformat try-catch block.
This commit is contained in:
@@ -119,7 +119,10 @@ 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
|
||||||
try { path.normalize(); }
|
try
|
||||||
|
{
|
||||||
|
path.normalize();
|
||||||
|
}
|
||||||
catch(e) {}
|
catch(e) {}
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user