Skip to content

Commit a50d670

Browse files
committed
change condition operator on if statement
1 parent 2d6e3e6 commit a50d670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/helm3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func (d *diffCmd) template(isUpgrade bool) ([]byte, error) {
183183

184184
i = bytes.Index(s, []byte("MANIFEST:"))
185185

186-
if i > -1 {
186+
if i != -1 {
187187
j := bytes.Index(s[i:], []byte("---"))
188188
s = append(s[:i], s[i:][j:]...)
189189
}

0 commit comments

Comments
 (0)