Skip to content

Commit

Permalink
chore: release is null
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken committed May 22, 2024
1 parent 8266b7d commit c99b0dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hariko/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ func deploy(packageName string, repositoryName string, repositoryURL string, log
if err != nil {
return nil, err
}
if releases == nil {
log.Write([]byte("no releases found\n"))
}
for _, release := range releases {
data, err := json.Marshal(release)
if err != nil {
Expand Down

0 comments on commit c99b0dd

Please sign in to comment.