mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-30 09:46:30 +02:00
no -> not
This commit is contained in:
parent
1a21eca3a2
commit
aaf6ae77ac
@ -150,7 +150,7 @@ func (m Mod) DownloadFile(dest io.Writer) error {
|
||||
|
||||
// Check if the hash of the downloaded file matches the expected hash.
|
||||
if calculatedHash != m.Download.Hash {
|
||||
return errors.New(fmt.Sprintf("Hash of downloaded file does no match with expected hash!\n download hash: %s\n expected hash: %s\n", calculatedHash, m.Download.Hash))
|
||||
return errors.New(fmt.Sprintf("Hash of downloaded file does not match with expected hash!\n download hash: %s\n expected hash: %s\n", calculatedHash, m.Download.Hash))
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user