fix(aa): ineffective assignment
This commit is contained in:
parent
ff5ff965cd
commit
228d3b653c
12 changed files with 39 additions and 20 deletions
|
|
@ -138,7 +138,8 @@ func (r *File) Merge(other Rule) bool {
|
|||
}
|
||||
if r.Owner == o.Owner && r.Path == o.Path && r.Target == o.Target {
|
||||
r.Access = merge(r.Kind(), "access", r.Access, o.Access)
|
||||
return r.RuleBase.merge(o.RuleBase)
|
||||
b := &r.RuleBase
|
||||
return b.merge(o.RuleBase)
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue