script/check_cpln_links in cpl-1.4.0 vs script/check_cpln_links in cpl-2.2.0
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
-bad_links=("controlplane.com/shakacode")
-proper_links=("shakacode.controlplane.com")
+bad_links=("controlplane.com/shakacode" "https://docs.controlplane.com")
+proper_links=("shakacode.controlplane.com" "https://shakadocs.controlplane.com")
bold=$(tput bold)
normal=$(tput sgr0)
exit_status=0
@@ -17,10 +17,10 @@
--fixed-strings \
--break \
--heading \
--color=always -- \
"${bad_links[idx]}" \
- ':!script/check_cpln_links')
+ ':!script/check_cpln_links' '*.md')
# Line would become really unwieldly if everything was mushed into the
# conditional, so let's ignore this check here.
# shellcheck disable=SC2181
if [ $? -eq 0 ]; then