Skip to content

Commit

Permalink
Fixed crash when no ddis or deps are provided
Browse files Browse the repository at this point in the history
  • Loading branch information
GamesTrap committed Dec 24, 2023
1 parent 2603c12 commit 681dcaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .modules/collate_modules/collate_modules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -826,9 +826,9 @@ function collate_modules.CollateModules()

local moduleDir = path.getdirectory(dd)

local ddis = string.explode(_OPTIONS["ddi"], " ")
local ddis = iif(#_OPTIONS["ddi"] > 0, string.explode(_OPTIONS["ddi"], " "), {})

local modDeps = string.explode(_OPTIONS["deps"], " ")
local modDeps = iif(#_OPTIONS["deps"] > 0, string.explode(_OPTIONS["deps"], " "), {})

local objects = {}
for _, ddiFilePath in pairs(ddis) do
Expand Down

0 comments on commit 681dcaa

Please sign in to comment.