Skip to content

Commit

Permalink
Fix ParseEnv (sqlc-dev#3536)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilecaron committed Aug 8, 2024
1 parent 1e6902f commit c582986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func ParseEnv(c *cobra.Command) Env {
return Env{
DryRun: dr != nil && dr.Changed,
Debug: opts.DebugFromEnv(),
Remote: r != nil && nr.Value.String() == "true",
Remote: r != nil && r.Value.String() == "true",
NoRemote: nr != nil && nr.Value.String() == "true",
}
}
Expand Down

0 comments on commit c582986

Please sign in to comment.