Skip to content

Commit 3bdda89

Browse files
committed
fix(gulp): fix remaining refactored linter function uses
1 parent 94b2aba commit 3bdda89

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

app/templates/gulpfile.babel.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ gulp.task('styles', styles);<% if(filters.coffee) { %>
161161

162162
gulp.task('coffee', () =>
163163
gulp.src(paths.client.scripts)
164-
.pipe(lintScripts())
164+
.pipe(lintClientScripts())
165+
.pipe(lintServerScripts())
165166
.pipe(plugins.coffee({bare: true}).on('error', plugins.util.log))
166167
.pipe(gulp.dest('.tmp/scripts'));
167168
);<% } %>
@@ -202,14 +203,14 @@ gulp.task('watch', () => {
202203

203204
plugins.watch(paths.client.scripts)
204205
.pipe(plugins.plumber())
205-
.pipe(lintScripts())<% if(filters.coffee) { %>
206+
.pipe(lintClientScripts())<% if(filters.coffee) { %>
206207
.pipe(plugins.coffee({bare: true}).on('error', plugins.util.log))
207208
.pipe(gulp.dest('.tmp/scripts'))<% } %>
208209
.pipe(plugins.livereload());
209210

210211
plugins.watch(_.union(paths.server.scripts, testFiles))
211212
.pipe(plugins.plumber())
212-
.pipe(lintScripts());
213+
.pipe(lintServerScripts());
213214

214215
gulp.watch('bower.json', ['bower']);
215216
});

0 commit comments

Comments
 (0)