Skip to content

Commit 4fd32ef

Browse files
committed
Fix more PR comments
1 parent dc8fae6 commit 4fd32ef

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

workflow-trace-viewer/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,4 @@ compose {
5959

6060
tasks.named<Test>("jvmTest") {
6161
useJUnitPlatform()
62-
testLogging {
63-
events("passed", "skipped", "failed")
64-
}
6562
}

workflow-trace-viewer/src/jvmMain/kotlin/com/squareup/workflow1/traceviewer/model/Node.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ internal fun Node.addChild(child: Node): Node {
5454
}
5555

5656
internal fun Node.replaceChild(child: Node): Node {
57-
return copy(children = LinkedHashMap(this.children.plus(child.id to child)))
57+
return addChild(child)
5858
}

0 commit comments

Comments
 (0)