mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Don’t output Diff.Roll annotations.
This commit is contained in:
parent
5f5a4739bf
commit
bfb9095d21
@ -55,7 +55,7 @@ func diffAndSerialize(a aString: String, b bString: String, to: String) throws {
|
|||||||
[
|
[
|
||||||
"a": .String(aString),
|
"a": .String(aString),
|
||||||
"b": .String(bString),
|
"b": .String(bString),
|
||||||
"diff": diff.JSON(pure: { $0.JSON { $0.JSON(annotation: range, leaf: { $0.JSON }) } }, leaf: { $0.JSON }),
|
"diff": diff.JSON(pure: { $0.JSON { $0.JSON(annotation: range, leaf: { $0.JSON }) } }, leaf: { $0.JSON }, annotation: const(nil)),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user