Unpin versioned and unversioned pins.

This commit is contained in:
jregan
2020-12-28 18:10:53 -08:00
parent d529eb8777
commit 9ad4b1ddca

View File

@@ -54,6 +54,7 @@ func (e *Editor) Tidy() error {
func (e *Editor) Pin(target misc.LaModule, oldV, newV semver.SemVer) error {
err := e.run(
"edit",
"-dropreplace="+target.ImportPath(),
"-dropreplace="+target.ImportPath()+"@"+oldV.String(),
"-require="+target.ImportPath()+"@"+newV.String(),
)