Cleared some unnecessary logic

This commit is contained in:
Gaurav Nelson 2020-04-02 11:19:14 +10:00 committed by Gaurav Nelson
parent 4d152915b0
commit 952b0594c3

View File

@ -23,11 +23,6 @@ echo -e "${BLUE}MAX_DEPTH: $5${NC}"
FIND_CALL="find ${FOLDER_PATH} -name \*.md -not -path './node_modules/*' -exec markdown-link-check {}"
if [ -f "$CONFIG_FILE" ]; then
if [ "$USE_QUIET_MODE" = "yes" ]; then
if [ "$USE_VERBOSE_MODE" = "yes" ]; then
echo -e "${BLUE}I found config file ${NC}"
fi
fi
echo -e "${BLUE}Using markdown-link-check configuration file: ${YELLOW}$CONFIG_FILE${NC}"
FIND_CALL+=" --config ${CONFIG_FILE}"
else