remove useless []byte()

This commit is contained in:
Aaron Bieber 2021-12-06 06:07:35 -07:00
parent 3fb82cec02
commit 2551d2d9a0

View File

@ -134,7 +134,7 @@ func createEmpty(path string) error {
if os.IsNotExist(fErr) {
log.Printf("creating %q\n", path)
twData, _ := tiddly.ReadFile(twFile)
wErr := ioutil.WriteFile(path, []byte(twData), 0600)
wErr := ioutil.WriteFile(path, twData, 0600)
if wErr != nil {
return wErr
}