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