diff --git a/js/compiler/compiler.go b/js/compiler/compiler.go index 68fa1844982..b468f8ebab7 100644 --- a/js/compiler/compiler.go +++ b/js/compiler/compiler.go @@ -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 }