Skip to content

Commit

Permalink
Embarrassing edit
Browse files Browse the repository at this point in the history
Fixed minor bug in which zvm copied the to buffer to the from buffer
  • Loading branch information
tristanisham committed Apr 11, 2024
1 parent 2af21e2 commit 871f233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/meta/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

const (
VERSION = "v0.6.4"
VERSION = "v0.6.5"
// VERSION = "v0.0.0" // For testing zvm upgrade

)
Expand Down
2 changes: 1 addition & 1 deletion cli/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func replaceExe(from, to string) error {
defer to_io.Close()


if _, err := io.Copy(from_io, to_io); err != nil {
if _, err := io.Copy(to_io, from_io); err != nil {
return nil
}
}
Expand Down

0 comments on commit 871f233

Please sign in to comment.