~welt/murse

408fd8d8a9e5a6360c49b2353630f629e016054a — welt 2 months ago 7b07cb4 signing
Fix garbage JSON when wrapping revisions.
1 files changed, 6 insertions(+), 0 deletions(-)

M rewrite.go
M rewrite.go => rewrite.go +6 -0
@@ 38,6 38,12 @@ func rewriteWrapMain(dir string) int {
			panic(err)
		}

		err = file.Truncate(0)
		if err != nil {
			errPrintln(err)
			return 1
		}

		_, err = file.Seek(0, 0)
		if err != nil {
			errPrintln(err)