tangled
alpha
login
or
join now
bnewbold.net
/
cobalt
13
fork
atom
go scratch code for atproto
13
fork
atom
overview
issues
pulls
pipelines
make comparison code work lint-style
bnewbold.net
5 months ago
4208d010
30784a77
+8
-2
1 changed file
expand all
collapse all
unified
split
cmd
glot
status.go
+8
-2
cmd/glot/status.go
···
141
141
return err
142
142
}
143
143
localSchemas[nsid] = *rec
144
144
-
return nil
145
144
}
146
145
147
146
localGroups := map[string]bool{}
···
168
167
}
169
168
sort.Strings(allNSID)
170
169
170
170
+
anyFailures := false
171
171
for _, k := range allNSID {
172
172
nsid := syntax.NSID(k)
173
173
if err := comp(ctx, cmd, nsid, localSchemas[nsid], remoteSchemas[nsid]); err != nil {
174
174
-
return err
174
174
+
if err != ErrLintFailures {
175
175
+
return err
176
176
+
}
177
177
+
anyFailures = true
175
178
}
176
179
}
177
180
181
181
+
if anyFailures {
182
182
+
return ErrLintFailures
183
183
+
}
178
184
return nil
179
185
}
180
186