Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0ccf010

Browse files
authored
fix: ensure correct version of sqlc is executed (#1287)
If `/usr/local/bin` is searched before `$GOPATH/bin` in your `$PATH` thewrong version of `sqlc` can be executed.
1 parentd7f6321 commit0ccf010

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎coderd/database/generate.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ set -euo pipefail
1111
cd"$(dirname"$0")"
1212

1313
# The logic below depends on the exact version being correct :(
14-
[[$(sqlc version)!="v1.13.0" ]]&& go install github.com/kyleconroy/sqlc/cmd/sqlc@v1.13.0
15-
sqlc generate
14+
go run github.com/kyleconroy/sqlc/cmd/sqlc@v1.13.0 generate
1615

1716
first=true
1817
forfiin queries/*.sql.go;do

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp