Fixed bug for CoffeeScript and MongoDB
Removed a bogus line that was resetting the configuration read from "database.yml", the file that's used instead of "database.json" when railway gets initialized using --coffee, as this was preventing Railway to work with any database driver other than Memory.
This commit is contained in:
parent
0990135aee
commit
8d18418e84
|
@ -3,3 +3,5 @@ doc
|
|||
coverage.html
|
||||
coverage
|
||||
v8.log
|
||||
|
||||
.DS_Store
|
||||
|
|
|
@ -41,7 +41,6 @@ module.exports = function init(root) {
|
|||
console.log('Could not parse config/database.yml');
|
||||
throw e;
|
||||
}
|
||||
config = {};
|
||||
}
|
||||
// when driver name started with point - look for driver in app root (relative path)
|
||||
if (config.driver && config.driver.match(/^\./)) {
|
||||
|
|
Loading…
Reference in New Issue