Skip to content

Commit 1234036

Browse files
authored
get-postfixed-pouchdb-build: show helpful error if version arg missing (#8743)
1 parent d67ff08 commit 1234036

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/integration/deps/get-postfixed-pouchdb-build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ while [[ $# -gt 1 ]]; do
1919
shift
2020
done
2121

22+
if [[ $# -lt 1 ]]; then
23+
echo "!!! Missing required argument: pouch db version"
24+
exit 1
25+
fi
26+
2227
version="$1"
2328
target="./pouchdb-$version-postfixed.js"
2429
nodots="$(tr -d . <<<"$version")"

0 commit comments

Comments
 (0)