Skip to content

Commit c74f659

Browse files
BridgeJS: Fix missing escape in profiling output
1 parent 26880cf commit c74f659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/BridgeJS/Sources/BridgeJSCore/Misc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public final class Profiling {
5656
}
5757
},
5858
endEntry: { label in
59-
output(#",\n{"ph":"E","pid":1,"name":\#(JSON.serialize(label)),"ts":\#(formatTimestamp())}"#)
59+
output(#",\#n{"ph":"E","pid":1,"name":\#(JSON.serialize(label)),"ts":\#(formatTimestamp())}"#)
6060
},
6161
finalize: {
6262
output("]\n")

0 commit comments

Comments
 (0)