From d7804a972bc5ec68167585eed8036610eb691b8c Mon Sep 17 00:00:00 2001 From: EGOIST <0x142857@gmail.com> Date: Sat, 23 Mar 2019 21:52:01 +0800 Subject: [PATCH] fix lint --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index a608ce5..a1e4030 100644 --- a/lib/index.js +++ b/lib/index.js @@ -95,7 +95,7 @@ module.exports = co.wrap(function*(name, opts = {}) { if (yarnGlobal.inDirectory(__dirname)) { config.resolve.modules.push(path.join(yarnGlobal.getDirectory())) } - + if (opts.resolve) { config.resolve.modules = config.resolve.modules.concat(opts.resolve) }