Skip to content

Commit 8df6a40

Browse files
committed
=BG= reorder gulp dest and hulp filter to ensure source map gets included; and use corect yargs check
1 parent f81a1b7 commit 8df6a40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/javascript.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ yargs.getInstance('test')
6666
.options(jshintReporter.yargsOption.key, jshintReporter.yargsOption.value)
6767
.strict()
6868
.check(yargs.subCommandCheck)
69-
.check(yargs.subCommandCheck)
69+
.check(jshintReporter.yargsCheck)
7070
.wrap(80);
7171

7272
gulp.task('javascript', function (done) {
@@ -127,8 +127,8 @@ gulp.task('javascript:unit', function () {
127127
.pipe(browserify
128128
.compile(80, transforms.concat(browserify.jasmineTransform('@')))
129129
.all('index.js'))
130-
.pipe(gulpFilter('*.js'))
131130
.pipe(gulp.dest(streams.TEST))
131+
.pipe(gulpFilter('*.js'))
132132
)
133133
.pipe(karma.createConfig())
134134
.pipe(gulp.dest(streams.TEST))

0 commit comments

Comments
 (0)