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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user