Skip to content

Commit

Permalink
Use log.Println instead of log.Printf
Browse files Browse the repository at this point in the history
Signed-off-by: TakumaKurosawa <[email protected]>
  • Loading branch information
TakumaKurosawa authored and ffjlabo committed Dec 7, 2023
1 parent 96162cf commit 57b3af0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tool/actions-plan-preview/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func main() {
body := makeCommentBody(event, result)
doComment(body)

log.Printf("Successfully minimized last plan-preview result on pull request\n")
log.Println("Successfully minimized last plan-preview result on pull request")
log.Println("plan-preview result has error")
os.Exit(1)
}
Expand Down
4 changes: 2 additions & 2 deletions tool/actions-plan-preview/planpreview.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ func minimizePreviousComment(ctx context.Context, ghGraphQLClient *githubv4.Clie
}

if bool(comment.IsMinimized) {
log.Printf("Previous plan-preview comment has already minimized. So don't minimize anything\n")
log.Println("Previous plan-preview comment has already minimized. So don't minimize anything")
return
}

Expand All @@ -354,5 +354,5 @@ func minimizePreviousComment(ctx context.Context, ghGraphQLClient *githubv4.Clie
return
}

log.Printf("Successfully minimized last plan-preview result on pull request\n")
log.Println("Successfully minimized last plan-preview result on pull request")
}

0 comments on commit 57b3af0

Please sign in to comment.