Skip to content

Commit

Permalink
attempt to fix linter errors
Browse files Browse the repository at this point in the history
Signed-off-by: Yaten Dhingra <[email protected]>
  • Loading branch information
yaten2302 committed Jan 4, 2025
1 parent 7acf452 commit 1b61d70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/branches/get/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ func Run(ctx context.Context, branchId string, fsys afero.Fs) error {
}

config := pgconn.Config{
Host: utils.GetSupabaseDbHost(resp.JSON200.DbHost),
Port: uint16(cast.IntToUint(resp.JSON200.DbPort)),
User: *resp.JSON200.DbUser,
Host: utils.GetSupabaseDbHost(resp.JSON200.DbHost),
Port: uint16(cast.IntToUint(resp.JSON200.DbPort)),

Check failure on line 38 in internal/branches/get/get.go

View workflow job for this annotation

GitHub Actions / Lint

G115: integer overflow conversion uint -> uint16 (gosec)
User: *resp.JSON200.DbUser,
Password: *resp.JSON200.DbPass,
}

Expand Down

0 comments on commit 1b61d70

Please sign in to comment.