提交 fc4435c2 编写于 作者: R recena

[JENKINS-34438] @kzantow's comments were addressed

上级 33a76585
...@@ -52,7 +52,7 @@ builder.bundle('src/main/js/add-item.js') ...@@ -52,7 +52,7 @@ builder.bundle('src/main/js/add-item.js')
// JSHint, a JavaScript Code Quality Tool // JSHint, a JavaScript Code Quality Tool
// //
gulp.task('lint', function() { gulp.task('lint', function() {
return gulp.src('./src/main/js/**/*.js') return gulp.src('src/main/js/**/*.js')
.pipe(jshint()) .pipe(jshint())
.pipe(jshint.reporter('default')) .pipe(jshint.reporter('default'))
.pipe(jshint.reporter('fail')); .pipe(jshint.reporter('fail'));
......
...@@ -733,7 +733,7 @@ THE SOFTWARE. ...@@ -733,7 +733,7 @@ THE SOFTWARE.
<goal>gulp</goal> <goal>gulp</goal>
</goals> </goals>
<configuration> <configuration>
<arguments>bundle lint</arguments> <arguments>lint bundle</arguments>
</configuration> </configuration>
</execution> </execution>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册