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.
returnerrors.Errorf("%s and %s are out of sync. Run a plain dep ensure to resync them before attempting to -update", dep.ManifestName, dep.LockName)
336
+
returnerrors.Errorf("%s is out of sync with either %s or the project code. Run a plain dep ensure to resync them before attempting to -update", dep.LockName, dep.ManifestName)
337
337
}
338
338
339
339
// When -update is specified without args, allow every dependency to change
@@ -428,7 +428,7 @@ func (cmd *ensureCommand) runAdd(ctx *dep.Ctx, args []string, p *dep.Project, sm
428
428
// "pending" changes, or the -add that caused the problem?).
returnerrors.Errorf("%s and %s are out of sync. Run a plain dep ensure to resync them before attempting to -add", dep.ManifestName, dep.LockName)
431
+
returnerrors.Errorf("%s is out of sync with either %s or the project code. Run a plain dep ensure to resync them before attempting to -add", dep.LockName, dep.ManifestName)
Copy file name to clipboardExpand all lines: cmd/dep/testdata/harness_tests/ensure/add/errs/desync/testcase.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,5 @@
2
2
"commands": [
3
3
["ensure", "-add", "foobar.com/baz"]
4
4
],
5
-
"error-expected": "Gopkg.toml and Gopkg.lock are out of sync. Run a plain dep ensure to resync them before attempting to -add"
5
+
"error-expected": "Gopkg.lock is out of sync with either Gopkg.toml or the project code. Run a plain dep ensure to resync them before attempting to -add"
Copy file name to clipboardExpand all lines: cmd/dep/testdata/harness_tests/ensure/update/errs/desync/testcase.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,5 @@
2
2
"commands": [
3
3
["ensure", "-update"]
4
4
],
5
-
"error-expected": "Gopkg.toml and Gopkg.lock are out of sync. Run a plain dep ensure to resync them before attempting to -update"
5
+
"error-expected": "Gopkg.lock is out of sync with either Gopkg.toml or the project code. Run a plain dep ensure to resync them before attempting to -update"
0 commit comments