add more log on detection and fix a log message

This commit is contained in:
rhysd 2018-02-06 13:47:59 +09:00
parent 8fd62fcf16
commit 2bc49bb7b5
1 changed files with 2 additions and 1 deletions

View File

@ -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
}