Skip to content

Commit e6d415d

Browse files
committed
fix(apple): exit code can be missing for commands
1 parent 6f0f681 commit e6d415d

File tree

1 file changed

+1
-1
lines changed
  • vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/cmd

1 file changed

+1
-1
lines changed

vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/cmd/BaseCommand.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ abstract class BaseCommand(
5757

5858
val (out, err, exitCode) = awaitAll(deferredStdout, deferredStderr, exitCode)
5959

60-
CommandResult(out as List<String>, err as List<String>, exitCode as Int)
60+
CommandResult(out as List<String>, err as List<String>, exitCode as Int?)
6161
}
6262

6363
override suspend fun drain() {

0 commit comments

Comments
 (0)