mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 14:30:10 +08:00
以0755创建目录以避免无法保存cache
This commit is contained in:
parent
c742ab43a3
commit
da44b02b43
@ -39,7 +39,7 @@ func CreatePath(path string) {
|
|||||||
//
|
//
|
||||||
}
|
}
|
||||||
if !PathExists(path) {
|
if !PathExists(path) {
|
||||||
err := os.MkdirAll(path, 0644)
|
err := os.MkdirAll(path, 0755)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user