diff options
Diffstat (limited to 'server/publish.lua')
-rw-r--r-- | server/publish.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/publish.lua b/server/publish.lua index 5871bbec..76d36472 100644 --- a/server/publish.lua +++ b/server/publish.lua @@ -27,7 +27,9 @@ local function copyFiles(out) local function copy(relative, mode) local source = EXTENSION / relative local target = out / relative - assert(fs.exists(source)) + if not fs.exists(source) then + return + end if fs.is_directory(source) then fs.create_directory(target) if mode == true then |