Skip to content

Commit 2209f09

Browse files
author
Luke Daley
committed
Cherry pick 27a7bf1
1 parent fe1511c commit 2209f09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/SWBTaskExecution/TaskActions/TaskAction.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ open class TaskAction: PlannedTaskAction, PolymorphicSerializable
6969
{
7070
let md5 = InsecureHashContext()
7171
md5.add(bytes: serializedRepresentationSignature!)
72-
for arg in task.type.commandLineForSignature(for: task) ?? [] {
72+
let commandLine = task.type.commandLineForSignature(for: task) ?? task.commandLine.map { $0.asByteString }
73+
for arg in commandLine {
7374
md5.add(bytes: arg)
7475
md5.add(number: 0)
7576
}

0 commit comments

Comments
 (0)