04eaf9b0 by Adam Heath

Fix processign of mpConfig.jshint.main, it wasn't finding files at the

top-level of src/scripts.
1 parent 4d653fca
...@@ -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 };
......