Skip to content
This repository
Browse code

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
Matthew Eernisse authored November 07, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/init/build.js
2  lib/init/build.js
@@ -8,7 +8,7 @@ exports.init = function (app, callback) {
8 8
     , content
9 9
     , built;
10 10
   for (var i in modelDir) {
11  
-    file = modelDir[i].replace('app/models', '').replace('/', '');
  11
+      file = modelDir[i].replace('app/models', '').replace('app\\models', '').replace('/', '').replace('\\', '');
12 12
     if (file) {
13 13
       content = fs.readFileSync(modelDir[i], 'utf8');
14 14
       files.push("(function(){\n" + content + "}());");

0 notes on commit 575f63d

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