Run go fmt

This commit is contained in:
comp500 2024-08-28 18:54:13 +01:00
parent f05bbe1dd4
commit c391e1cfdd

View File

@ -43,7 +43,7 @@ var rehashCmd = &cobra.Command{
} }
for dl := range session.StartDownloads() { for dl := range session.StartDownloads() {
if dl.Error != nil { if dl.Error != nil {
fmt.Printf("Error retrieving %s: %v\n", dl.Mod.Name, dl.Error); fmt.Printf("Error retrieving %s: %v\n", dl.Mod.Name, dl.Error)
} }
dl.Mod.Download.HashFormat = args[0] dl.Mod.Download.HashFormat = args[0]
dl.Mod.Download.Hash = dl.Hashes[args[0]] dl.Mod.Download.Hash = dl.Hashes[args[0]]