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