aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2017-12-22 08:01:33 -0600
committerMatt Godbolt <matt@godbolt.org>2017-12-22 08:01:33 -0600
commitd085bac7084cf7e18a03e9f9fea47bae01223e82 (patch)
treeaf2f365d1c10d860cdea080b0bb071a3c2d13b4b /lib/compilers/golang.js
parent87afc3aa67e6e169fcc41cb7437e05f9261050ea (diff)
downloadcompiler-explorer-d085bac7084cf7e18a03e9f9fea47bae01223e82.tar.gz
compiler-explorer-d085bac7084cf7e18a03e9f9fea47bae01223e82.zip
Remove explicit langid, as it's part of the compiler config already
Diffstat (limited to 'lib/compilers/golang.js')
-rw-r--r--lib/compilers/golang.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/golang.js b/lib/compilers/golang.js
index df63bc8bf..c94b1147b 100644
--- a/lib/compilers/golang.js
+++ b/lib/compilers/golang.js
@@ -25,8 +25,8 @@
const Compile = require('../base-compiler'),
_ = require('underscore-node');
-function compilenewgol(info, env, langId) {
- const compiler = new Compile(info, env, langId);
+function compilenewgol(info, env) {
+ const compiler = new Compile(info, env);
compiler.originalGetDefaultExecOptions = compiler.getDefaultExecOptions;
function convertNewGoL(code) {