Skip to content

Commit

Permalink
gotohelm: support !=
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseto committed Mar 7, 2024
1 parent 0c0ce78 commit d2d8237
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/gotohelm/transpiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ func (t *Transpiler) transpileExpr(n ast.Expr) Node {
// Poor man's pattern matching :[
mapping := map[[3]string]string{
{"_", token.EQL.String(), "_"}: "eq",
{"_", token.NEQ.String(), "_"}: "ne",
{"_", token.LAND.String(), "_"}: "and",
{"_", token.LOR.String(), "_"}: "or",
{"_", token.GTR.String(), "_"}: "gt",
Expand Down

0 comments on commit d2d8237

Please sign in to comment.