From b1edae12c8092d3ac79ffa7715ad4a7fae245e60 Mon Sep 17 00:00:00 2001 From: Tsuyoshi CHO Date: Wed, 21 Oct 2020 14:41:19 +0900 Subject: [PATCH] when non textlint env, error it --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index d42c4cf..0b9611c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,7 +11,7 @@ if npm ls textlint &> /dev/null; then # pass else echo This repository was not configured for textlint, process done. - exit 0 + exit 1 fi npx textlint -f checkstyle "${INPUT_TEXTLINT_FLAGS:-.}" \