Skip to content

Commit

Permalink
fixed issue with programmatic example
Browse files Browse the repository at this point in the history
  • Loading branch information
edgar.schnueriger committed Jan 18, 2017
1 parent ec1e010 commit c1c6a89
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ let file
fs.readFile('main.less', 'utf-8', function(err, contents) {
if(err) return console.log(err)
file = contents
})
less.render(file, {
plugins: [sass2less]
}).then(function(output) {
console.log(output.css)
}, function (error) {
console.log(error)
less.render(file, {
plugins: [sass2less]
}).then(function(output) {
console.log(output.css)
}, function (error) {
console.log(error)
})
})
```

Expand Down

0 comments on commit c1c6a89

Please sign in to comment.