Permalink
Browse files

conventionalize bracket style

  • Loading branch information...
1 parent e3ef1f1 commit 8e61008cfd43c53f231274408f8f23b7eae094ee @acruikshank acruikshank committed Feb 6, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/config.js
View
@@ -15,8 +15,9 @@ exports.load = function(fileName, currentEnv) {
config = require(fileName);
} catch(e) {
// distinguish broken files from missing ones
- if (e instanceof SyntaxError)
+ if (e instanceof SyntaxError){
throw e;
+ }
config = require(path.join(process.cwd(), fileName));
}

0 comments on commit 8e61008

Please sign in to comment.