Skip to content

Commit 1a175c3

Browse files
committed
Fix typos
1 parent 3bfbedb commit 1a175c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/conditional/enemy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func evalElement(c *core.Core, fields []string) (float64, error) {
8686
}
8787

8888
func evalTags(c *core.Core, fields []string) (int, error) {
89-
// .tags.e1.name
89+
// .tags.t1.name
9090
if err := fieldsCheck(fields, 3, "tags"); err != nil {
9191
return 0, err
9292
}
@@ -95,7 +95,7 @@ func evalTags(c *core.Core, fields []string) (int, error) {
9595

9696
e, err := parseTarget(c, trg)
9797
if err != nil {
98-
return 0, fmt.Errorf("bad element condition: %w", err)
98+
return 0, fmt.Errorf("bad tags condition: %w", err)
9999
}
100100
return e.GetTag(name), nil
101101
}

0 commit comments

Comments
 (0)