From 2e4a994e4f3e23e9d330f6b3fb5761b0e4b09eeb Mon Sep 17 00:00:00 2001 From: Andres Suarez Date: Sat, 23 May 2015 21:04:47 -0400 Subject: [PATCH] don't mutate "opts" - parse can handle no opts --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index dbca43e22..f16132a35 100644 --- a/index.js +++ b/index.js @@ -49,7 +49,6 @@ var exports = module.exports = function (src, opts) { exports.find = function (src, opts) { if (!opts) opts = {}; - opts.parse = opts.parse || {}; var word = opts.word === undefined ? 'require' : opts.word; if (typeof src !== 'string') src = String(src);