···186186 // TODO: should we actually return 0 in this case?
187187 return 0, fmt.Errorf("can't determine key range of empty MST node")
188188 }
189189- if markDirty == true {
189189+ if markDirty {
190190 n.Dirty = true
191191 }
192192 // check if lower than this entire node
+1-1
atproto/repo/operation.go
···147147148148 set := map[string]bool{}
149149 for _, op := range list {
150150- if _, ok := set[op.Path]; ok != false {
150150+ if _, ok := set[op.Path]; ok {
151151 return nil, fmt.Errorf("duplicate path in operation list")
152152 }
153153 set[op.Path] = true