diff --git a/index.js b/index.js index ecc04a3..0ad4e27 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,6 @@ var plugin = module.exports = function (opts) { instrumenter: istanbul.Instrumenter }); opts.includeUntested = opts.includeUntested === true; - opts.resolveAbsolutePaths = opts.resolveAbsolutePaths === true; var instrumenter = new opts.instrumenter(opts); @@ -32,10 +31,6 @@ var plugin = module.exports = function (opts) { return cb(new PluginError(PLUGIN_NAME, 'streams not supported')); } - if (opts.resolveAbsolutePaths) { - file.path = path.resolve(file.path); - } - instrumenter.instrument(file.contents.toString(), file.path, function (err, code) { if (err) { return cb(new PluginError(