ing
This commit is contained in:
parent
311c0cace2
commit
dcd0b68205
2
util.go
2
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) {
|
func marshal(target interface{}, ext string) ([]byte, error) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user