diff --git a/astronaut/freshnaut b/astronaut/freshnaut index 15d62c7..a337621 100755 --- a/astronaut/freshnaut +++ b/astronaut/freshnaut @@ -90,6 +90,8 @@ function get_available_versions(satellite) local versions = {} local count = 0 for update_name in update_names:gmatch("[^,]+") do + assert(update_name:match(version), "Invalid update name " .. update_name .. " does not contain " .. version) + local loop_regex, end_regex = make_regex(update_name, version) for x in update_file:gmatch(loop_regex) do