aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-feed.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/make-feed.lua b/make-feed.lua
index fa1ac97..1d5c0e2 100755
--- a/make-feed.lua
+++ b/make-feed.lua
@@ -90,7 +90,10 @@ local function get_metadata(file)
loadfile(file)()
-- script_name etc are now in our global scope
- if config.ignoreCondition() then return nil end
+ if config.ignoreCondition() then
+ err(file .. ": ignored by config, skipping")
+ return nil
+ end
meta.name = script_name
meta.description = script_description
meta.version = script_version