Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

replace for windows fixed #255

  • Loading branch information...
commit 9082ed17ca4ced1d2ff9382bb2520f3b2f89508d 1 parent 26c39e6
@naimax 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.