We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74dfa77 commit 2798cebCopy full SHA for 2798ceb
Sources/SwiftlyCore/Platform.swift
@@ -338,7 +338,7 @@ extension Platform {
338
process.waitUntilExit()
339
340
guard process.terminationStatus == 0 else {
341
- throw RunProgramError(exitCode: process.terminationStatus, program: args.first!, arguments: Array(args.dropFirst()))
+ throw RunProgramError(exitCode: process.terminationStatus, program: program, arguments: args)
342
}
343
344
if let outData {
0 commit comments