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 98426fa commit f9b8febCopy full SHA for f9b8feb
hooks/mdlink-check.sh
@@ -7,6 +7,12 @@ set -e
7
# workaround to allow GitHub Desktop to work, add this (hopefully harmless) setting here.
8
export PATH=$PATH:/usr/local/bin
9
10
+if ! command -v markdown-link-check; then
11
+ >&2 echo "markdown-link-check is not available on this system."
12
+ >&2 echo "Please install it by running 'npm install -g markdown-link-check'"
13
+ exit 1
14
+fi
15
+
16
TMP_CONFIG="$(mktemp)"
17
cat > "$TMP_CONFIG" <<EOF
18
{
0 commit comments