Skip to content

Commit

Permalink
chore: Tidy up code order
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Aug 7, 2022
1 parent 093d116 commit 9144c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,8 @@ func (c *Config) defaultPreApplyFunc(

if c.interactive {
prompt := fmt.Sprintf("Apply %s", targetRelPath)
actualContents := actualEntryState.Contents()
var choices []string
actualContents := actualEntryState.Contents()
targetContents := targetEntryState.Contents()
if actualContents != nil || targetContents != nil {
choices = append(choices, "diff")
Expand Down

0 comments on commit 9144c53

Please sign in to comment.