From 270d429a84b5922f72501a190fd328b90003c9d1 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Tue, 19 Sep 2023 17:52:13 +0200 Subject: [PATCH] added a go get to update the client go.mod in pre-commit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab232802..d6fc231d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: - id: go-mod-tidy-client name: Check if go.mod and go.sum are up to date for server files: server/ - entry: sh -c "(cd client && go mod tidy)" + entry: sh -c "(cd client && go get github.com/TUM-Dev/Campus-Backend/server && go mod tidy)" language: system pass_filenames: false stages: [commit]