mirror of
https://github.com/gaurav-nelson/github-action-markdown-link-check.git
synced 2024-11-25 19:13:43 +03:00
File extension check fix
This commit is contained in:
parent
0eb8a0e224
commit
a2d3ff6417
@ -18,10 +18,11 @@ FOLDER_PATH="$4"
|
||||
MAX_DEPTH="$5"
|
||||
CHECK_MODIFIED_FILES="$6"
|
||||
BASE_BRANCH="$7"
|
||||
if [ "$8" -eq 0 ]; then
|
||||
FILE_EXTENSION=".md"
|
||||
else
|
||||
if [ -z "$8" ]; then
|
||||
FILE_EXTENSION="$8"
|
||||
else
|
||||
echo -e "${YELLOW}No file extension specified, using .md as extension.${NC}"
|
||||
FILE_EXTENSION=".md"
|
||||
fi
|
||||
|
||||
echo -e "${BLUE}USE_QUIET_MODE: $1${NC}"
|
||||
|
Loading…
Reference in New Issue
Block a user