Skip to content

Commit c582986

Browse files
authored
Fix ParseEnv (#3536)
1 parent 1e6902f commit c582986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func ParseEnv(c *cobra.Command) Env {
149149
return Env{
150150
DryRun: dr != nil && dr.Changed,
151151
Debug: opts.DebugFromEnv(),
152-
Remote: r != nil && nr.Value.String() == "true",
152+
Remote: r != nil && r.Value.String() == "true",
153153
NoRemote: nr != nil && nr.Value.String() == "true",
154154
}
155155
}

0 commit comments

Comments
 (0)