Skip to content

Commit 2cbec2d

Browse files
committed
Fix breakage on Windows, which doesn't have ProcessResult.ExitStatus.signalled.
1 parent a2c1ac9 commit 2cbec2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Workspace/DefaultPluginScriptRunner.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,10 @@ public struct DefaultPluginScriptRunner: PluginScriptRunner, Cancellable {
247247
switch processExitStatus {
248248
case .terminated(let code):
249249
self = .exit(code: code)
250+
#if !os(Windows)
250251
case .signalled(let signal):
251252
self = .signal(number: signal)
253+
#endif
252254
}
253255
}
254256
}

0 commit comments

Comments
 (0)