mirror of
https://github.com/prymitive/karma
synced 2026-08-23 11:56:20 +00:00
fix(style): simplify assignments
This commit is contained in:
@@ -86,9 +86,9 @@ func NewFilter(expression string) FilterT {
|
||||
}
|
||||
}
|
||||
|
||||
matched, _ := result["matched"]
|
||||
operator, _ := result["operator"]
|
||||
value, _ := result["value"]
|
||||
matched := result["matched"]
|
||||
operator := result["operator"]
|
||||
value := result["value"]
|
||||
|
||||
if matched == "" && operator == "" && value == "" {
|
||||
// no "filter=" part, just the value, use fuzzy filter
|
||||
|
||||
Reference in New Issue
Block a user