aboutsummaryrefslogtreecommitdiffhomepage
path: root/worker/exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/exec.go')
-rw-r--r--worker/exec.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/worker/exec.go b/worker/exec.go
index 2ef16fa..10bc99a 100644
--- a/worker/exec.go
+++ b/worker/exec.go
@@ -95,7 +95,7 @@ func execSwiftCompile(
if err := os.WriteFile(inPath, []byte(code), 0644); err != nil {
return swiftCompileResponseData{
- Result: resultInternalError,
+ Status: resultInternalError,
Stdout: "",
Stderr: err.Error(),
}
@@ -116,7 +116,7 @@ func execSwiftCompile(
)
return swiftCompileResponseData{
- Result: convertCommandErrorToResultType(err),
+ Status: convertCommandErrorToResultType(err),
Stdout: stdout,
Stderr: stderr,
}
@@ -148,7 +148,7 @@ func execWasmCompile(
)
return wasmCompileResponseData{
- Result: convertCommandErrorToResultType(err),
+ Status: convertCommandErrorToResultType(err),
Stdout: stdout,
Stderr: stderr,
}
@@ -179,7 +179,7 @@ func execTestRun(
)
return testRunResponseData{
- Result: convertCommandErrorToResultType(err),
+ Status: convertCommandErrorToResultType(err),
Stdout: stdout,
Stderr: stderr,
}