Skip to content

Commit

Permalink
fix: pass config to parserOpts and writerOpts
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin E. Coe <bencoe@google.com>
  • Loading branch information
bertho-zero and bcoe committed Jun 19, 2020
1 parent 8f82b5a commit 73c7a1b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -5,7 +5,7 @@ const parserOpts = require('./parser-opts')
const writerOpts = require('./writer-opts')

module.exports = function (config) {
return Q.all([parserOpts, writerOpts])
return Q.all([parserOpts(config), writerOpts(config)])
.spread((parserOpts, writerOpts) => {
return { parserOpts, writerOpts }
})
Expand Down

0 comments on commit 73c7a1b

Please sign in to comment.