We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f244860 commit 517d7edCopy full SHA for 517d7ed
staging/promote_staged_module.sh
@@ -24,9 +24,9 @@ _promote_staged_module_main() {
24
group="$(grep -Em1 '^group=' "$conf_file" | cut -d= -f2- | xargs)"
25
# quick presence/format checks (feature/helpers/description/parent at minimum)
26
if ! grep -Eqm1 '^feature=' "$conf_file" \
27
- || ! grep -Eqm1 '^helpers=' "$conf_file" \
28
- || ! grep -Eqm1 '^description=' "$conf_file" \
29
- || ! grep -Eqm1 '^parent=' "$conf_file"; then
+ || ! grep -Eqm1 '^helpers=' "$conf_file" \
+ || ! grep -Eqm1 '^description=' "$conf_file" \
+ || ! grep -Eqm1 '^parent=' "$conf_file"; then
30
echo "ERROR: $conf_file missing one or more required fields (feature/helpers/description/parent). Aborting."
31
exit 1
32
fi
0 commit comments