Skip to content

Commit

Permalink
Merge 9ff5d66 into 364eb33
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyfarrell committed Mar 17, 2019
2 parents 364eb33 + 9ff5d66 commit cabcac8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ NYC.prototype._createInstrumenter = function () {
compact: this.config.compact,
preserveComments: this.config.preserveComments,
esModules: this.config.esModules,
plugins: this.config.plugins
plugins: this.config.parserPlugins
})
}

Expand Down
2 changes: 1 addition & 1 deletion lib/hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function getInvalidatingOptions (config) {
'ignoreClassMethods',
'instrument',
'instrumenter',
'plugins',
'parserPlugins',
'preserveComments',
'produceSourceMap',
'sourceMap'
Expand Down
2 changes: 1 addition & 1 deletion lib/instrumenters/istanbul.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const convertSourceMap = require('convert-source-map')
const mergeSourceMap = require('merge-source-map')

function InstrumenterIstanbul (cwd, options) {
const plugins = options.plugins
const plugins = options.parserPlugins
const configPlugins = plugins ? { plugins } : {}

const instrumenter = createInstrumenter(Object.assign({
Expand Down

0 comments on commit cabcac8

Please sign in to comment.