0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

println -> print os.stderr

This commit is contained in:
Zack Scholl 2022-07-07 10:46:49 -07:00
parent 7e0814a57e
commit 0e93f1e285

View file

@ -415,7 +415,7 @@ func ZipDirectory(destination string, source string) (err error) {
if err != nil { if err != nil {
log.Fatalln(err) log.Fatalln(err)
} }
fmt.Println() fmt.Fprintf(os.Stderr, "\n")
return nil return nil
} }
@ -457,6 +457,6 @@ func UnzipDirectory(destination string, source string) error {
dstFile.Close() dstFile.Close()
fileInArchive.Close() fileInArchive.Close()
} }
fmt.Println() fmt.Fprintf(os.Stderr, "\n")
return nil return nil
} }