diff --git a/common/content/io.js b/common/content/io.js index 236ff305..6ad268bc 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -119,11 +119,8 @@ function IO() //{{{ { let path = ioManager.getFile(head); path.appendRelativePath(ioManager.expandPath(tail)); // FIXME: should only expand env vars and normalise path separators - try - { + if (path.exists()) path.normalize(); - } - catch(e) {} return path; }