diff options
author | Rubén Rincón Blanco <ruben@rinconblanco.es> | 2022-11-22 15:05:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 15:05:37 +0100 |
commit | f4d30924cd842e80804e946e15a2671f60e2cd9f (patch) | |
tree | 7b11e4ac9ecb619b783fa4767682544f79808f56 /lib/compilers/golang.ts | |
parent | f276f73dab8e82c775e9db52505ec0c2a4655f0f (diff) | |
download | compiler-explorer-f4d30924cd842e80804e946e15a2671f60e2cd9f.tar.gz compiler-explorer-f4d30924cd842e80804e946e15a2671f60e2cd9f.zip |
Fix error with null stderr (#4322)gh-4985
* Fix error with null stderr
* Fix test
Diffstat (limited to 'lib/compilers/golang.ts')
-rw-r--r-- | lib/compilers/golang.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/golang.ts b/lib/compilers/golang.ts index b0abb1498..00ef80d6c 100644 --- a/lib/compilers/golang.ts +++ b/lib/compilers/golang.ts @@ -210,7 +210,7 @@ export class GolangCompiler extends BaseCompiler { } const logging = this.extractLogging(out); result.asm = this.convertNewGoL(out); - result.stderr = null; + result.stderr = []; result.stdout = utils.parseOutput(logging, result.inputFilename); return Promise.all([result, '']); } |