Skip to content

Commit 25bfc26

Browse files
sualkoarlolra
authored andcommitted
fix grunt error
Without this fix, I received "Warning: Path must be a string", see jshint/jshint#2922
1 parent 62ef2c2 commit 25bfc26

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

gruntfile.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = function (grunt) {
2424

2525
pkg: grunt.file.readJSON('package.json')
2626
, meta: {
27-
banner:
27+
banner:
2828
'/*!\n\n <%= pkg.name %>.js v<%= pkg.version %> - ' +
2929
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
3030
' (c) <%= grunt.template.today("yyyy") %> - <%= pkg.author %>\n' +
@@ -72,7 +72,8 @@ module.exports = function (grunt) {
7272
}
7373
, jshint: {
7474
options: {
75-
jshintrc: '.jshintrc'
75+
jshintrc: '.jshintrc'
76+
, reporterOutput: ''
7677
}
7778
, all: ['*.js', 'lib/*.js', 'test/spec/unit/*.js']
7879
}
@@ -101,4 +102,4 @@ module.exports = function (grunt) {
101102
grunt.registerTask('ww', ['copy_ww'])
102103
grunt.registerTask('default', ['clean', 'otr', 'dep', 'ww'])
103104

104-
}
105+
}

0 commit comments

Comments
 (0)