Permalink
Browse files

Merge branch 'master' of github.com:1602/express-on-railway

  • Loading branch information...
1602 committed Jul 2, 2012
2 parents 0abe74c + e88323d commit d66cf4011b9b52213776604e593de9980aedd930
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/generators.js
View
@@ -689,10 +689,10 @@ exports.list = function () {
catch(e) {}
});
if (config != null) return config;
- throw new Error( sys.format('Can not find configuration file by path template"%s"', filename) );
+ throw new Error( sys.format('Can not find configuration file by path template "%s"', filename) );
break;
case 'json':
- return JSON.parse(require('fs').readFileSync(filename, 'utf8'));
+ return JSON.parse(fs.readFileSync(filename, 'utf8'));
case 'yml':
return require(filename).shift();
default:

0 comments on commit d66cf40

Please sign in to comment.