Skip to content

Commit

Permalink
Add Output Results option
Browse files Browse the repository at this point in the history
Currently just console logs out results. Will allow Sass Lint to handle sasstools#48
  • Loading branch information
Snugug committed Aug 30, 2015
1 parent 7a2f4e0 commit 42ba0dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ sassLint.format = function (results) {
return stylish(results);
};

sassLint.outputResults = function (results) {
console.log(results);
return results;
};

sassLint.failOnError = function (results) {
var result,
i;
Expand Down

0 comments on commit 42ba0dd

Please sign in to comment.