Skip to content

Commit

Permalink
fix: add missing dependency, fix require path
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Jun 6, 2019
1 parent 4479bd8 commit 08f1ba6
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Alloy/commands/compile/tasks/mvc-compile-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require('fs');
const path = require('path');
const walkSync = require('walk-sync');

const CONST = require('alloy/Alloy/common/constants');
const CONST = require('../../../common/constants');

const viewRegex = new RegExp('\\.' + CONST.FILE_EXT.VIEW + '$');
const controllerRegex = new RegExp('\\.' + CONST.FILE_EXT.CONTROLLER + '$');
Expand Down Expand Up @@ -141,4 +141,4 @@ class MvcCompileTask extends IncrementalFileTask {
}
}

module.exports = MvcCompileTask;
module.exports = MvcCompileTask;
43 changes: 42 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@babel/parser": "^7.4.5",
"@babel/traverse": "^7.4.5",
"@babel/types": "^7.4.4",
"appc-tasks": "^1.0.1",
"async": "^2.4.0",
"chmodr": "^1.0.2",
"colors": "^1.1.2",
Expand Down

0 comments on commit 08f1ba6

Please sign in to comment.