8000 Cleanup gulpfile jscs errors. · stacktracejs/error-stack-parser@dd293ba · GitHub
[go: up one dir, main page]

Skip to content

Commit dd293ba

Browse files
committed
Cleanup gulpfile jscs errors.
1 parent 0c15a71 commit dd293ba

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

gulpfile.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,36 @@ var uglify = require('gulp-uglify');
1111
var dependencies = ['./node_modules/stackframe/dist/stackframe.js'];
1212
var source = 'error-stack-parser.js';
1313

14-
gulp.task('lint', function () {
14+
gulp.task('lint', function() {
1515
return gulp.src(source)
1616
.pipe(jshint())
1717
.pipe(jshint.reporter('default'))
1818
.pipe(jshint.reporter('fail'));
1919
});
2020

21-
gulp.task('test', function (done) {
21+
gulp.task('test', function(done) {
2222
new karma.Server({
2323
configFile: __dirname + '/karma.conf.js',
2424
singleRun: true
2525
}, done).start();
2626
});
2727

28-
gulp.task('test-pr', ['copy', 'dist'], function (done) {
28+
gulp.task('test-pr', ['copy', 'dist'], function(done) {
2929
new karma.Server({
3030
configFile: __dirname + '/karma.conf.js',
3131
browsers: ['Firefox', 'Chrome_Travis'],
3232
singleRun: true
3333
}, done).start();
3434
});
3535

36-
gulp.task('test-ci', ['dist'], function (done) {
36+
gulp.task('test-ci', ['dist'], function(done) {
3737
new karma.Server({
3838
configFile: __dirname + '/karma.conf.ci.js',
3939
singleRun: true
4040
}, done).start();
4141
});
4242

43-
gulp.task('copy', function () {
43+
gulp.task('copy', function() {
4444
return gulp.src(source)
4545
.pipe(gulp.dest('dist'));
4646
});
@@ -58,11 +58,11 @@ gulp.task('clean', del.bind(null, ['build', 'coverage', 'dist']));
5858

5959
gulp.task('pr', ['lint', 'test-pr']);
6060

61-
gulp.task('ci', ['lint', 'test-ci'], function () {
61+
gulp.task('ci', ['lint', 'test-ci'], function() {
6262
gulp.src('./coverage/**/lcov.info')
6363
.pipe(coveralls());
6464
});
6565

66-
gulp.task('default', ['clean'], function (cb) {
66+
gulp.task('default', ['clean'], function(cb) {
6767
runSequence('lint', 'dist', 'test', cb);
6868
});

0 commit comments

Comments
 (0)
0