Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 96eff20

Browse files
committed
Merge branch 'topic/output-support'
2 parents 1ce4cd8 + d130caf commit 96eff20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var gutil = require('gulp-util')
2727
runtimeTypeChecks: '--runtime-type-checks',
2828
verboseErrors: '--verbose-errors'
2929
}
30-
, single: {browserNamespace: '--browser-namespace'}
30+
, single: {browserNamespace: '--browser-namespace', output: '--output'}
3131
, multi: {}
3232
}
3333
}
@@ -36,9 +36,9 @@ var gutil = require('gulp-util')
3636
function options(o, opts) {
3737
return Object.keys(opts || {}).reduce(function(b, a){
3838
if (a in o.flags && opts[a] === true) return b.concat([o.flags[a]]);
39-
else if (a in o.single && typeof opts[a] === "string") return b.concat([o.single[a] + '=' + opts[a]]);
39+
else if (a in o.single && typeof opts[a] === 'string') return b.concat([o.single[a] + '=' + opts[a]]);
4040
else if (a in o.multi) {
41-
if (typeof opts[a] === "string") return b.concat([o.multi[a] + '=' + opts[a]]);
41+
if (typeof opts[a] === 'string') return b.concat([o.multi[a] + '=' + opts[a]]);
4242
else {
4343
return b.concat(opts[a].map(function(x){
4444
return o.multi[a] + '=' + x;

0 commit comments

Comments
 (0)