Skip to content

Commit 72663b5

Browse files
committed
test-semver-ok: No error on GNU grep absence
1 parent 159ccf8 commit 72663b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/test-semver-ok

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Copyright 2022-2024 David Rabkin
44
# shellcheck disable=SC1090,SC1091 # File not following.
55
. "$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)"/../lib/base.sh
6-
grep --help >/dev/null 2>&1 || cya GNU grep is required.
6+
grep --help >/dev/null 2>&1 || {
7+
logw test-semver-ok: Skipped, GNU grep is required.
8+
cya
9+
}
710
ver="$(semver 'I am 1.2.3')" || die
811
log "$ver"
912
inside "$ver" 0.0.0+nil && die

0 commit comments

Comments
 (0)