From 799b509b1fcbed2bf351294241056c494254a763 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 14:19:39 -0400 Subject: _ob_get_changelog_expect_str(): Abort on missing argument --- diff --git a/lib/changelog.sh b/lib/changelog.sh index e3d45d1..28357f5 100644 --- a/lib/changelog.sh +++ b/lib/changelog.sh @@ -34,7 +34,10 @@ _ob_parse_changelog_error() _ob_get_changelog_expect_str() { - _ob_get_msg "changelog_expect_${1}" + local msg_id="${1}" + shift 1 || _ob_abort + + _ob_get_msg "changelog_expect_${msg_id}" return 0 } -- cgit v0.9.1