mirror of
https://github.com/gaurav-nelson/github-action-markdown-link-check.git
synced 2024-11-25 19:13:43 +03:00
Merge pull request #53 from gaurav-nelson/file-ext
File extension check fix
This commit is contained in:
commit
c44c6ba908
@ -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