Skip to content

Commit 89cdc0d

Browse files
authored
Merge pull request #185 from xiemaisi/patch-1
Fix likely typo of exclusive-or for exponentiation
2 parents ddd926d + ba98881 commit 89cdc0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

artifact.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func (a Artifact) getMD5local(path string) string {
107107
if err != nil {
108108
return ""
109109
}
110-
buffer := make([]byte, 2^20)
110+
buffer := make([]byte, 1<<20)
111111
n, err := localFile.Read(buffer)
112112
defer localFile.Close()
113113
for err == nil {

0 commit comments

Comments
 (0)