Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #256 from naimax/master

Error when start project on geddy 0.6.2 / Windows
  • Loading branch information...
commit 575f63d46d4ef2da68b03184d6f6e9da4769dc6a 2 parents 26c39e6 + 9082ed1
@mde mde authored
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 + "}());");
Please sign in to comment.
Something went wrong with that request. Please try again.