diff options
-rw-r--r-- | script/library.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script/library.lua b/script/library.lua index 80a34032..0ec6c954 100644 --- a/script/library.lua +++ b/script/library.lua @@ -218,7 +218,9 @@ local function initBuiltIn() end m.metaPath = metaPath:string() m.metaPaths = {} - fs.create_directories(metaPath) + if not fs.exists(metaPath) then + fs.create_directories(metaPath) + end local out = fsu.dummyFS() local templateDir = ROOT / 'meta' / 'template' for libName, status in pairs(define.BuiltIn) do |