We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 541c657 commit 6f90155Copy full SHA for 6f90155
index.js
@@ -234,12 +234,12 @@ function onError(err, keepAlive) { // XXX: avoid overloaded signature?
234
}
235
236
237
-function writeResult (output, content, fn) {
+function writeResult (name, content, fn) {
238
var funcs = [
239
- async.apply(writeFile, output, content.css)
+ async.apply(writeFile, name, content.css)
240
];
241
- if (content.map) {
242
- funcs.push(async.apply(writeFile, output + '.map', content.map.toString()));
+ if (content.map && name) {
+ funcs.push(async.apply(writeFile, name + '.map', content.map.toString()));
243
244
async.parallel(funcs, fn);
245
0 commit comments