add plugin make command

This commit is contained in:
crazywhalecc
2022-12-25 23:11:10 +08:00
parent ed5a9c6c12
commit 579269cb5b
6 changed files with 241 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ class FileSystem
*/
public static function createDir(string $path): void
{
if (!is_dir($path) && !mkdir($path, 0777, true) && !is_dir($path)) {
if (!is_dir($path) && !mkdir($path, 0755, true) && !is_dir($path)) {
throw new \RuntimeException(sprintf('无法建立目录:%s', $path));
}
}