Skip to content

Commit

Permalink
fix: add missing "Generate" equivalency
Browse files Browse the repository at this point in the history
``yamlPath.SameContent()`` seems to be missing checking for "Generate"
equivalency. This commit adds that back.
  • Loading branch information
rebornplusplus committed Nov 8, 2024
1 parent 7eb8428 commit 00742d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,8 @@ func (yp *yamlPath) SameContent(other *yamlPath) bool {
yp.Copy == other.Copy &&
yp.Text == other.Text &&
yp.Symlink == other.Symlink &&
yp.Mutable == other.Mutable)
yp.Mutable == other.Mutable &&
yp.Generate == other.Generate)
}

type yamlArch struct {
Expand Down

0 comments on commit 00742d5

Please sign in to comment.