We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df1fb32 commit db8b255Copy full SHA for db8b255
Dockerfile.tools
@@ -25,7 +25,9 @@ COPY tools/install/ /install/
25
ARG PRE_COMMIT_VERSION=${PRE_COMMIT_VERSION:-latest}
26
RUN touch /.env && \
27
if [ "$PRE_COMMIT_VERSION" = "false" ]; then \
28
- echo "Vital software can't be skipped" && exit 1; \
+ echo "ERROR: PRE_COMMIT_VERSION cannot be 'false' - pre-commit is required" >&2 && exit 1; \
29
+ elif [ -z "$PRE_COMMIT_VERSION" ]; then \
30
+ echo "ERROR: PRE_COMMIT_VERSION is required" >&2 && exit 1; \
31
fi
32
RUN /install/pre-commit.sh
33
0 commit comments