mirror of
https://github.com/MedzikUser/go-github-selfupdate.git
synced 2024-08-15 03:25:29 +00:00
add more log on detection and fix a log message
This commit is contained in:
parent
8fd62fcf16
commit
2bc49bb7b5
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@ func findAssetFromReleasse(rel *github.RepositoryRelease, suffixes []string) (*g
|
|||
}
|
||||
}
|
||||
}
|
||||
log.Println("No suitable asset was found in release", rel.GetTagName())
|
||||
return nil, false
|
||||
}
|
||||
|
||||
|
@ -56,7 +57,7 @@ func findReleaseAndAsset(rels []*github.RepositoryRelease) (*github.RepositoryRe
|
|||
}
|
||||
}
|
||||
|
||||
log.Println("Could no find any release for", runtime.GOOS, "and", runtime.GOARCH)
|
||||
log.Println("Could not find any release for", runtime.GOOS, "and", runtime.GOARCH)
|
||||
return nil, nil, false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue