Skip to content

Commit a7bc7ae

Browse files
authored
fix: Use correct config property for parser plugins (#1082)
1 parent 600c867 commit a7bc7ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/instrumenters/istanbul.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const convertSourceMap = require('convert-source-map')
55
const mergeSourceMap = require('merge-source-map')
66

77
function InstrumenterIstanbul (options) {
8-
const plugins = options.parserPlugins
8+
const { plugins } = options
99
const configPlugins = plugins ? { plugins } : {}
1010

1111
const instrumenter = createInstrumenter(Object.assign({

0 commit comments

Comments
 (0)