Skip to content

Commit 449abba

Browse files
committed
mod download instead
1 parent 5aeb544 commit 449abba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

coderd/database/generate.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ done
2525
# Remove temporary go files.
2626
rm -f queries/*.go
2727

28-
go mod tidy
29-
# Ensure correct imports exist.
28+
# Ensure correct imports exist. Modules must all be downloaded so we get correct
29+
# suggestions.
30+
go mod download
3031
goimports -w queries.sql.go
3132

3233
# Fix struct/interface names.

0 commit comments

Comments
 (0)