Have dumbindent take a dst slice argument

This commit is contained in:
Nigel Tao committed 2020-06-06 21:09:41 +10:00
1 parent dd04d55417
commit 3d7af06727
4 files changed
+91 -18

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ func Do(args []string) error {
return unformatted, nil
}
return dumbindent.Format(unformatted)
return dumbindent.FormatBytes(nil, unformatted)
})
}