waf: rename the heuristic list last, a name that said nothing
The list that runs tag_deny the second time was named last(). The bare word does not say what it holds or when it runs, a local variable in rulefiles.go shadows it, and its doc read "the heuristics of last run". It is now afterBesideLookup, beside the other lists named for when they run. Model: opus-5-5
This commit is contained in:
1 parent
0e5a5b468c
commit
b0a06aac63
2 files changed
+6
-6
No files matched your search
@@ -77,10 +77,10 @@ func besideLookup() []heuristic {
|
||||
}
|
||||
}
|
||||
|
||||
// last are the heuristics that run once both lists above have let the request
|
||||
// through. tag_deny runs a second time, on the tag rule_files and
|
||||
// core_rule_set can add.
|
||||
func last() []heuristic {
|
||||
// afterBesideLookup are the heuristics that run once afterLookup and
|
||||
// besideLookup have both let the request through. tag_deny runs a second time,
|
||||
// on the tag rule_files and core_rule_set can add.
|
||||
func afterBesideLookup() []heuristic {
|
||||
return []heuristic{
|
||||
tagDeny{},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user