aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-feed.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/make-feed.lua b/make-feed.lua
index 18cb355..98a28e5 100755
--- a/make-feed.lua
+++ b/make-feed.lua
@@ -350,6 +350,7 @@ local function clean_depctrl(depctrl)
local feeds = {}
if depctrl == nil or #depctrl == 0 then return nil end
for _, mod in ipairs(depctrl) do
+ if type(mod) == "string" then mod = {mod} end
if type(mod[1]) ~= "string" then mod = mod[1] end
local modname = mod[1]
mod["moduleName"] = modname