mirror of
https://github.com/nasa/openmct.git
synced 2025-01-18 02:39:56 +00:00
[Build] Add fixstyle step
This commit is contained in:
parent
fd2f4128a0
commit
d67ffa8401
@ -82,3 +82,9 @@ gulp.task('codestyle', function () {
|
||||
.pipe(jscs.reporter())
|
||||
.pipe(jscs.reporter('fail'));
|
||||
});
|
||||
|
||||
gulp.task('fixstyle', function () {
|
||||
return gulp.src(paths.scripts, { base: '.' })
|
||||
.pipe(jscs({ fix: true }))
|
||||
.pipe(gulp.dest('.'));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user