Skip to content

Commit

Permalink
fix: remove debug statement from golang template
Browse files Browse the repository at this point in the history
Remove a stray `go env` statement that prints the go environment
variables during build

Signed-off-by: Lucas Roesler <[email protected]>
  • Loading branch information
LucasRoesler authored and alexellis committed Apr 13, 2022
1 parent 0d7e3db commit b714c92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ build
.settings
/**/package-lock.json
/**/node_modules
/go.work
.vscode
1 change: 0 additions & 1 deletion template/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ COPY . .
RUN test -z "$(gofmt -l $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./function/vendor/*"))" || { echo "Run \"gofmt -s -w\" on your Golang code"; exit 1; }

WORKDIR /go/src/handler/function
RUN go env

RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=${CGO_ENABLED} go test ./... -cover

Expand Down

0 comments on commit b714c92

Please sign in to comment.