aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.js
diff options
context:
space:
mode:
authorRabsRincon <rubrinbla@gmail.com>2017-12-03 23:37:16 +0100
committerRabsRincon <rubrinbla@gmail.com>2017-12-03 23:37:16 +0100
commita8763c34c5b407b0cf2cb46523f5c6e1071ee284 (patch)
tree07a823cecdfbb128d18d2a28b3315a9f1838e33d /lib/compilers/golang.js
parent63ed0e79c5ab12da3b697b04b41f8075c8b79f87 (diff)
downloadcompiler-explorer-a8763c34c5b407b0cf2cb46523f5c6e1071ee284.tar.gz
compiler-explorer-a8763c34c5b407b0cf2cb46523f5c6e1071ee284.zip
Fix lingering issues. Now you can at least compile!
Quite a lot of stuff to do, I've been neglecting this the whole weekend (Let me tell you how good A Hat In Time is. GOTY)
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;
}