summaryrefslogtreecommitdiffstats
path: root/pkg/exprparser/interpreter.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/exprparser/interpreter.go')
-rw-r--r--pkg/exprparser/interpreter.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/exprparser/interpreter.go b/pkg/exprparser/interpreter.go
index 021e5c9..576ee45 100644
--- a/pkg/exprparser/interpreter.go
+++ b/pkg/exprparser/interpreter.go
@@ -150,7 +150,6 @@ func (impl *interperterImpl) evaluateNode(exprNode actionlint.ExprNode) (interfa
}
}
-//nolint:gocyclo
func (impl *interperterImpl) evaluateVariable(variableNode *actionlint.VariableNode) (interface{}, error) {
switch strings.ToLower(variableNode.Name) {
case "github":
@@ -580,7 +579,6 @@ func (impl *interperterImpl) evaluateLogicalCompare(compareNode *actionlint.Logi
return nil, fmt.Errorf("Unable to compare incompatibles types '%s' and '%s'", leftValue.Kind(), rightValue.Kind())
}
-//nolint:gocyclo
func (impl *interperterImpl) evaluateFuncCall(funcCallNode *actionlint.FuncCallNode) (interface{}, error) {
args := make([]reflect.Value, 0)