diff --git a/util.go b/util.go index cb2ad98..5d288c7 100644 --- a/util.go +++ b/util.go @@ -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) {