You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
// Allow any of specified project versions to change, regardless of the lock file
312
300
for_, arg:=rangeargs {
301
+
// Ensure the provided path has a deducible project root
302
+
// TODO(sdboyer) do these concurrently
303
+
pc, err:=getProjectConstraint(arg, sm)
304
+
iferr!=nil {
305
+
// TODO(sdboyer) return all errors, not just the first one we encounter
306
+
// TODO(sdboyer) ensure these errors are contextualized in a
307
+
// sensible way for -update
308
+
returnerr
309
+
}
310
+
311
+
if!gps.IsAny(pc.Constraint) {
312
+
// TODO(sdboyer) constraints should be allowed to allow solves that
313
+
// target particular versions while remaining within declared constraints
314
+
returnerrors.Errorf("-update operates according to constraints declared in %s, not CLI arguments.\nYou passed in %s for %s", dep.ManifestName, pc.Constraint, pc.Ident.ProjectRoot)
0 commit comments