Skip to content

Commit 6f90155

Browse files
committed
do not send source maps to standard output
1 parent 541c657 commit 6f90155

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ function onError(err, keepAlive) { // XXX: avoid overloaded signature?
234234
}
235235
}
236236

237-
function writeResult (output, content, fn) {
237+
function writeResult (name, content, fn) {
238238
var funcs = [
239-
async.apply(writeFile, output, content.css)
239+
async.apply(writeFile, name, content.css)
240240
];
241-
if (content.map) {
242-
funcs.push(async.apply(writeFile, output + '.map', content.map.toString()));
241+
if (content.map && name) {
242+
funcs.push(async.apply(writeFile, name + '.map', content.map.toString()));
243243
}
244244
async.parallel(funcs, fn);
245245
}

0 commit comments

Comments
 (0)