Skip to content

Commit

Permalink
[fix] declaration shadowing.
Browse files Browse the repository at this point in the history
  • Loading branch information
legander committed Oct 12, 2020
1 parent 14b6683 commit b902307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/compiler/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func newBabel() (*babel, error) {
return
}

if _, err := vm.RunProgram(jslib.GetCoreJS()); err != nil {
if _, corejsErr := vm.RunProgram(jslib.GetCoreJS()); corejsErr != nil {
return
}

Expand Down

0 comments on commit b902307

Please sign in to comment.