diff --git a/Makefile b/Makefile index cd7e0e3..91d67e1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BUILD_ENV := CGO_ENABLED=0 APP=wechatmp2markdown -VERSION=v1.1.5 +VERSION=v1.1.6 # linux or mac 环境编译 # make [cmd] diff --git a/format/format.go b/format/format.go index 4914078..ba2bc4f 100644 --- a/format/format.go +++ b/format/format.go @@ -92,7 +92,7 @@ func FormatAndSave(article parse.Article, filePath string) error { // make basePath dir if not exists if _, err := os.Stat(basePath); err != nil { - if err := os.MkdirAll(basePath, 0644); err != nil { + if err := os.MkdirAll(basePath, 0755); err != nil { panic(err) } }