1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

Don’t output Diff.Roll annotations.

This commit is contained in:
Rob Rix 2015-10-22 18:57:07 -04:00
parent 5f5a4739bf
commit bfb9095d21

View File

@ -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)),
] ]
} }