Skip to content

Commit 152448b

Browse files
committed
fix typo, and use more gulp-load-plugins
1 parent cf70e49 commit 152448b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

gulpfile.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ gulp.task('test-node', ['exceptionless.test.umd'], function(done) {
129129
gulp.task('test-browser', ['exceptionless.test.umd'], function(){
130130
return gulp
131131
.src('testrunner.html')
132-
.pipe($.mochaPhantomJS());
132+
.pipe($.mochaPhantomjs());
133133
});
134134

135135
gulp.task('test', function(){
@@ -139,10 +139,9 @@ gulp.task('test', function(){
139139
});
140140

141141
gulp.task('format', function () {
142-
var exec = require('gulp-exec');
143142
return gulp.src(['src/**/*.ts', '!src/typings/**/*.ts'])
144-
.pipe(exec('node_modules/typescript-formatter/bin/tsfmt -r <%= file.path %>'))
145-
.pipe(exec.reporter());
143+
.pipe($.exec('node_modules/typescript-formatter/bin/tsfmt -r <%= file.path %>'))
144+
.pipe($.exec.reporter());
146145
});
147146

148147
gulp.task('default', ['watch', 'build', 'test']);

0 commit comments

Comments
 (0)