From d0aa10141246a83cc6de0fc2f8b500796b270f6e Mon Sep 17 00:00:00 2001 From: xpetit <32063953+xpetit@users.noreply.github.com> Date: Thu, 30 Jul 2020 15:47:12 +0200 Subject: [PATCH] Remove Go formatting check --- go/exam/Dockerfile | 1 - go/exam/entrypoint.sh | 8 -------- 2 files changed, 9 deletions(-) diff --git a/go/exam/Dockerfile b/go/exam/Dockerfile index 968843e93..0db7ad578 100644 --- a/go/exam/Dockerfile +++ b/go/exam/Dockerfile @@ -2,7 +2,6 @@ FROM golang:1-alpine ENV GIT_TERMINAL_PROMPT=0 RUN apk add --no-cache git -RUN go get golang.org/x/tools/cmd/goimports RUN go get github.com/01-edu/z01 COPY --from=mkcert-ca . /usr/local/share/ca-certificates RUN update-ca-certificates diff --git a/go/exam/entrypoint.sh b/go/exam/entrypoint.sh index 0ce92202f..79c787e86 100755 --- a/go/exam/entrypoint.sh +++ b/go/exam/entrypoint.sh @@ -13,14 +13,6 @@ first_file=$(echo "$EXPECTED_FILES" | cut -d' ' -f1) mkdir -p "$(dirname "$first_file")" cat > "$first_file" -# Check formatting -s=$(goimports -d .) -if test "$s"; then - echo '$ goimports -d .' - echo "$s" - exit 1 -fi - cd # Run program