Skip to content
Browse files

Merge pull request #256 from naimax/master

Error when start project on geddy 0.6.2 / Windows
  • Loading branch information...
2 parents 26c39e6 + 9082ed1 commit 575f63d46d4ef2da68b03184d6f6e9da4769dc6a @mde mde committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/init/build.js
View
2 lib/init/build.js
@@ -8,7 +8,7 @@ exports.init = function (app, callback) {
, content
, built;
for (var i in modelDir) {
- file = modelDir[i].replace('app/models', '').replace('/', '');
+ file = modelDir[i].replace('app/models', '').replace('app\\models', '').replace('/', '').replace('\\', '');
if (file) {
content = fs.readFileSync(modelDir[i], 'utf8');
files.push("(function(){\n" + content + "}());");

0 comments on commit 575f63d

Please sign in to comment.
Something went wrong with that request. Please try again.