mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
updated go.mod
This commit is contained in:
@@ -2,10 +2,6 @@ module crawlab
|
|||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
replace (
|
|
||||||
github.com/crawlab-team/crawlab-core => ../../crawlab-core
|
|
||||||
)
|
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/apex/log v1.9.0
|
github.com/apex/log v1.9.0
|
||||||
github.com/crawlab-team/crawlab-core v0.6.0-beta.20211230.1200
|
github.com/crawlab-team/crawlab-core v0.6.0-beta.20211230.1200
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ content=$(cat ./backend/go.mod)
|
|||||||
for line in $content
|
for line in $content
|
||||||
do
|
do
|
||||||
if [[ $line =~ $pattern ]]; then
|
if [[ $line =~ $pattern ]]; then
|
||||||
|
echo "Invalid ./backend/go.mod, which should not contain \"^replace\""
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user