Skip to content

Commit

Permalink
Merge pull request #36 from pentacore/patch-1
Browse files Browse the repository at this point in the history
fix flipped function arguments
  • Loading branch information
creativeprojects authored Jul 3, 2023
2 parents ce6530a + 444fa6c commit 5419abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func UpdateTo(ctx context.Context, assetURL, assetFileName, cmdPath string) erro
return err
}
defer src.Close()
return up.decompressAndUpdate(src, assetURL, assetFileName, cmdPath)
return up.decompressAndUpdate(src, assetFileName, assetURL, cmdPath)
}

// UpdateCommand updates a given command binary to the latest version.
Expand Down

0 comments on commit 5419abb

Please sign in to comment.