Skip to content

Commit

Permalink
add comment as content string fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Mar 7, 2017
1 parent 9e7031b commit 911a774
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const asyncSassJobQueue = async.queue(sass.render, threadPoolSize - 1);
* @param {string} content
*/
function sassLoader(content) {
content = content || '//';
const callback = this.async();
const isSync = typeof callback !== "function";
const self = this;
Expand Down

0 comments on commit 911a774

Please sign in to comment.