7cf39d90 by Adam Heath

Fix jschecker logic, it shouldn't use mpConfig.base, but always 'src'

instead.
1 parent fcd24753
1 { 1 {
2 "name": "grunt-monty-python", 2 "name": "grunt-monty-python",
3 "version": "2016.05.27-2", 3 "version": "2016.06.10-0",
4 "ignore": [ 4 "ignore": [
5 "**/.*", 5 "**/.*",
6 "node_modules", 6 "node_modules",
......
...@@ -278,9 +278,9 @@ module.exports = function (grunt) { ...@@ -278,9 +278,9 @@ module.exports = function (grunt) {
278 }, 278 },
279 }; 279 };
280 jscheckerAddExtra(mpConfig[name].all, initConfig[name], 'all'); 280 jscheckerAddExtra(mpConfig[name].all, initConfig[name], 'all');
281 jscheckerAddExtra(mpConfig[name].main, initConfig[name].main.files, mpConfig.base); 281 jscheckerAddExtra(mpConfig[name].main, initConfig[name].main.files, 'src');
282 jscheckerAddExtra(mpConfig[name].model, initConfig[name].model.files, mpConfig.base); 282 jscheckerAddExtra(mpConfig[name].model, initConfig[name].model.files, 'src');
283 jscheckerAddExtra(mpConfig[name].view, initConfig[name].view.files, mpConfig.base); 283 jscheckerAddExtra(mpConfig[name].view, initConfig[name].view.files, 'src');
284 checkList.push(name); 284 checkList.push(name);
285 } 285 }
286 createJschecker( 286 createJschecker(
......
1 { 1 {
2 "name": "grunt-monty-python", 2 "name": "grunt-monty-python",
3 "version": "2016.05.27-2", 3 "version": "2016.06.10-0",
4 "description": "Build system for grunt", 4 "description": "Build system for grunt",
5 "license": "BSD", 5 "license": "BSD",
6 "repository": { 6 "repository": {
......