remove useless []byte()
This commit is contained in:
parent
3fb82cec02
commit
2551d2d9a0
2
main.go
2
main.go
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user