Skip to content

Commit

Permalink
Merge pull request #2830 from gtalusan/master
Browse files Browse the repository at this point in the history
make --depends generate no CSS output
  • Loading branch information
seven-phases-max committed Apr 12, 2016
2 parents e257ebb + dff9697 commit c5fe893
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/lessc
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,9 @@ function printUsage() {
};

var writeOutput = function(output, result, onSuccess) {
if (output) {
if (options.depends) {
onSuccess();
} else if (output) {
ensureDirectory(output);
fs.writeFile(output, result.css, {encoding: 'utf8'}, function (err) {
if (err) {
Expand Down Expand Up @@ -485,4 +487,4 @@ function printUsage() {
parseLessFile(false, buffer);
});
}
})();
})();

0 comments on commit c5fe893

Please sign in to comment.