mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00:47:28 +01:00
Have dumbindent take a dst slice argument
This commit is contained in:
1 parent
dd04d55417
commit
3d7af06727
4 files changed
+91
-18
No files matched your search
@@ -145,7 +145,7 @@ func do(r io.Reader, filename string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
dst, err := dumbindent.Format(src)
|
||||
dst, err := dumbindent.FormatBytes(nil, src)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user