Skip to content

Commit

Permalink
updated go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Dec 30, 2021
1 parent 27e0377 commit bd7d585
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions backend/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions scripts/validate-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bd7d585

Please sign in to comment.