aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/golang.js')
-rw-r--r--lib/compilers/golang.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/golang.js b/lib/compilers/golang.js
index 27ec62a40..b550ee0d6 100644
--- a/lib/compilers/golang.js
+++ b/lib/compilers/golang.js
@@ -71,7 +71,7 @@ function compilenewgol(info, env, langId) {
compiler.getDefaultExecOptions = function () {
var execOptions = this.originalGetDefaultExecOptions();
- var goroot = this.env.compilerProps("compiler." + this.compiler.id + ".goroot");
+ var goroot = this.compilerProps("compiler." + this.compiler.id + ".goroot");
if (goroot) {
execOptions.env.GOROOT = goroot;
}