This commit is contained in:
crusader 2017-10-13 12:40:30 +09:00
parent 311c0cace2
commit dcd0b68205

View File

@ -172,7 +172,7 @@ func marshalFile(target interface{}, file string, overWrite bool) error {
}
}
return ioutil.WriteFile(file, b, os.ModeAppend)
return ioutil.WriteFile(file, b, 0644)
}
func marshal(target interface{}, ext string) ([]byte, error) {