Skip to content

Commit adb3d44

Browse files
committed
prettier errors
1 parent fd95693 commit adb3d44

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

apps/coordinator/src/exec.ts

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,16 @@ import { homedir } from "os";
44
import { type Result, x } from "tinyexec";
55

66
class TinyResult {
7-
constructor(private result: Result) {}
8-
9-
get pid() {
10-
return this.result.pid;
11-
}
12-
13-
get process() {
14-
return this.result.process;
15-
}
16-
17-
get exitCode() {
18-
return this.result.exitCode;
19-
}
20-
21-
get aborted() {
22-
return this.result.aborted;
23-
}
24-
25-
get killed() {
26-
return this.result.killed;
7+
pid?: number;
8+
exitCode?: number;
9+
aborted: boolean;
10+
killed: boolean;
11+
12+
constructor(result: Result) {
13+
this.pid = result.pid;
14+
this.exitCode = result.exitCode;
15+
this.aborted = result.aborted;
16+
this.killed = result.killed;
2717
}
2818
}
2919

0 commit comments

Comments
 (0)