updated go.mod

This commit is contained in:
Marvin Zhang
2021-12-31 00:29:14 +08:00
parent 27e03778e9
commit bd7d585716
2 changed files with 1 additions and 4 deletions

View File

@@ -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

View File

@@ -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