Skip to content

Commit aa48bfd

Browse files
committed
Merge pull request #65 from wraithgar/master
Take 'replacements' variable out of global scope
2 parents 5c8476c + 4e0bcd4 commit aa48bfd

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)