Fix processign of mpConfig.jshint.main, it wasn't finding files at the
top-level of src/scripts.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -254,7 +254,7 @@ module.exports = function (grunt) { | ... | @@ -254,7 +254,7 @@ module.exports = function (grunt) { |
254 | ], | 254 | ], |
255 | main: { | 255 | main: { |
256 | options: _.extend({}, mpConfig[name].browserOptions, browserOptions), | 256 | options: _.extend({}, mpConfig[name].browserOptions, browserOptions), |
257 | files: _.map(_.concat([], mpConfig.mainDirs), function (value) { | 257 | files: _.map(_.concat([''], mpConfig.mainDirs), function (value) { |
258 | return { | 258 | return { |
259 | src: mpConfig.base + '/scripts/' + value + '/{,**/}*.js', | 259 | src: mpConfig.base + '/scripts/' + value + '/{,**/}*.js', |
260 | }; | 260 | }; | ... | ... |
-
Please register or sign in to post a comment