From ad94daa5a7dc7c055e0e77043d27d2b2cc4e6b6d Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 16 Dec 2008 16:31:33 -0500 Subject: [PATCH] Reformat try-catch block. --- common/content/io.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/content/io.js b/common/content/io.js index 36bade0e..236ff305 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -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; }