aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2020-01-06 22:37:23 -0600
committerMatt Godbolt <matt@godbolt.org>2020-01-06 22:37:23 -0600
commitc4d7b618b3ed038230783ab06cefccbd26e52634 (patch)
tree7ea92beae75720e8622a8a90165b826f892f946b /lib/compilers/golang.js
parent9020ed58db38e623b8c49760a463a0bd42db5a57 (diff)
downloadcompiler-explorer-c4d7b618b3ed038230783ab06cefccbd26e52634.tar.gz
compiler-explorer-c4d7b618b3ed038230783ab06cefccbd26e52634.zip
Fix up return of postProcess for golang. Fixes #1765
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 8c298ad38..8a3b2f393 100644
--- a/lib/compilers/golang.js
+++ b/lib/compilers/golang.js
@@ -174,7 +174,7 @@ class GolangCompiler extends BaseCompiler {
const logging = this.extractLogging(result.stdout);
result.asm = this.convertNewGoL(result.stdout);
result.stdout = utils.parseOutput(logging, result.inputFilename);
- return Promise.resolve(result);
+ return Promise.resolve([result, ""]);
}
optionsForFilter(filters, outputFilename) {