Skip to content

Commit 4e0bcd4

Browse files
author
Michael Garvin
committed
Update index.js
Take 'replacements' variable out of global scope
1 parent 5c8476c commit 4e0bcd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function find_shims_in_package(pkgJson, cur_path, shims, browser) {
3434
throw err;
3535
}
3636

37-
replacements = getReplacements(info, browser);
37+
var replacements = getReplacements(info, browser);
3838

3939
// no replacements, skip shims
4040
if (!replacements) {

0 commit comments

Comments
 (0)