diff options
author | isaacs <i@izs.me> | 2013-02-11 22:13:36 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-02-11 22:13:45 +0400 |
commit | d7aa9eb2228d171c0c4f4761cf13b7ceef8b8416 (patch) | |
tree | a6f4f30aa78be2bed214d33899aadec0ec781cee | |
parent | f468b62f011668aa7a817a80351af3d4454156b5 (diff) |
Fix leaking 'name' var
-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 |