From dcd0b68205b342d8195f66e5826162a1f85c18e1 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 13 Oct 2017 12:40:30 +0900 Subject: [PATCH] ing --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {