diff options
author | garret <garret@airmail.cc> | 2023-02-22 01:07:35 +0000 |
---|---|---|
committer | garret <garret@airmail.cc> | 2023-02-22 01:07:35 +0000 |
commit | 7144eb8d24b7e3c733e1458c2511afc53977ffc3 (patch) | |
tree | 738d2d58dbdb13ca50923acd1959ab3d53515fc0 /make-feed.lua | |
parent | f1411b78348903f8de1bf13a02121b3f8fe3b819 (diff) | |
download | depctrl-feedmaker-master.tar.gz depctrl-feedmaker-master.tar.bz2 depctrl-feedmaker-master.zip |
Diffstat (limited to 'make-feed.lua')
-rwxr-xr-x | make-feed.lua | 1 |
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 |