diff options
-rw-r--r-- | lib/install.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/install.js b/lib/install.js index 5f97dc43a..9f63c7463 100644 --- a/lib/install.js +++ b/lib/install.js @@ -649,7 +649,7 @@ function targetResolver (where, context, deps) { } if (wrap) { - name = what.split(/@/).shift() + var name = what.split(/@/).shift() if (wrap[name]) { var wrapTarget = readWrap(wrap[name]) what = name + "@" + wrapTarget |