Fix jschecker logic, it shouldn't use mpConfig.base, but always 'src'
instead.
Showing
3 changed files
with
5 additions
and
5 deletions
... | @@ -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( | ... | ... |
-
Please register or sign in to post a comment