From bd7d5857162704d23d40ce34645941aeb6cf7b53 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Fri, 31 Dec 2021 00:29:14 +0800 Subject: [PATCH] updated go.mod --- backend/go.mod | 4 ---- scripts/validate-backend.sh | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/go.mod b/backend/go.mod index 59603f43..9e98b8e9 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -2,10 +2,6 @@ module crawlab go 1.16 -replace ( - github.com/crawlab-team/crawlab-core => ../../crawlab-core -) - require ( github.com/apex/log v1.9.0 github.com/crawlab-team/crawlab-core v0.6.0-beta.20211230.1200 diff --git a/scripts/validate-backend.sh b/scripts/validate-backend.sh index efa197a4..b568de82 100755 --- a/scripts/validate-backend.sh +++ b/scripts/validate-backend.sh @@ -6,6 +6,7 @@ content=$(cat ./backend/go.mod) for line in $content do if [[ $line =~ $pattern ]]; then + echo "Invalid ./backend/go.mod, which should not contain \"^replace\"" exit 1 fi done