Skip to content

Commit

Permalink
fbackward compatibility for unpin
Browse files Browse the repository at this point in the history
  • Loading branch information
antoooks committed Dec 17, 2023
1 parent 9f0693d commit 5f9554a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gorepomod/internal/edit/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (e *Editor) Pin(target misc.LaModule, oldV, newV semver.SemVer) error {

func (e *Editor) UnPin(target misc.LaModule, oldV semver.SemVer) error {
var r strings.Builder
r.WriteString(target.ImportPath())
r.WriteString("sigs.k8s.io/kustomize/" + string(target.ShortName()))
// Don't specify the old version.
// r.WriteString("@")
// r.WriteString(oldV.String())
Expand Down

0 comments on commit 5f9554a

Please sign in to comment.