Skip to content

Commit

Permalink
Merge pull request bndr#185 from xiemaisi/patch-1
Browse files Browse the repository at this point in the history
Fix likely typo of exclusive-or for exponentiation
  • Loading branch information
bndr committed Nov 25, 2019
2 parents ddd926d + ba98881 commit 89cdc0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (a Artifact) getMD5local(path string) string {
if err != nil {
return ""
}
buffer := make([]byte, 2^20)
buffer := make([]byte, 1<<20)
n, err := localFile.Read(buffer)
defer localFile.Close()
for err == nil {
Expand Down

0 comments on commit 89cdc0d

Please sign in to comment.