Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
craigulliott committed Dec 17, 2016
1 parent 4f16f87 commit 885015a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ module.exports = function (fileName, options) {
let compiledParserSource = pegjs.generate(combinedSource, {
allowedStartRules: allRuleNames,
output: 'source',
trace: (options.trace || false)
trace: !!options.trace,
tracer: (options.tracer || null)
});

// finalize the source to make it importable and not linted
Expand Down

0 comments on commit 885015a

Please sign in to comment.