Skip to content

Commit

Permalink
Remove cb argument from evaluate() and mark as async.
Browse files Browse the repository at this point in the history
Co-Authored-By: Andreas Lind <andreaslindpetersen@gmail.com>
  • Loading branch information
alexjeffburke and papandreou authored Jan 2, 2020
1 parent 77e297c commit f8d3bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Snippets.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Snippets {
this.items = snippets;
}

evaluate(options, cb) {
async evaluate(options) {
return evaluateSnippets(this.items, options).then(() => this);
}

Expand Down

0 comments on commit f8d3bb1

Please sign in to comment.