@@ -207,8 +207,7 @@ func OpenPullRequest(issueID IssueID) error {
207207
208208 repo := config .GetRepository (profile .DefaultRepository )
209209
210- Log .Infof (
211- " 📂\t Opening PR for issue %v in %v/%v [%v]" ,
210+ Log .Infofp ("📂" , "Opening PR for issue %v in %v/%v [%v]" ,
212211 issueID ,
213212 repo .Owner ,
214213 repo .Name ,
@@ -231,7 +230,7 @@ func OpenPullRequest(issueID IssueID) error {
231230 if err != nil {
232231 return err
233232 }
234- Log .Infof ( " 🔗 \t Linking PR %v to issue %v in %v" , prId , issueID , profile .IssueBackend )
233+ Log .Infofp ( "🔗" , "Linking PR %v to issue %v in %v" , prId , issueID , profile .IssueBackend )
235234
236235 return issueBackend .LinkIssueToRepo (repo .Owner , repo .Name , issueID , strconv .Itoa (* prId ))
237236}
@@ -247,14 +246,14 @@ func FinishWorkingOnIssue(issueID IssueID) error {
247246
248247 repo := config .GetRepository (profile .DefaultRepository )
249248
250- Log .Infof ( " 🥂 \t Finishing work on %v" , issueID )
249+ Log .Infofp ( "🥂" , "Finishing work on %v" , issueID )
251250 if profile .IssueBackend != "" {
252251 issueBackend , err := getIssueBackendConfigurator (config .GetBackend (profile .IssueBackend ))
253252 if err != nil {
254253 return err
255254 }
256255
257- Log .Infof ( " 🏁 \t Closing issue %v in %v" , issueID , profile .IssueBackend )
256+ Log .Infofp ( "🏁" , "Closing issue %v in %v" , issueID , profile .IssueBackend )
258257
259258 err = issueBackend .CloseIssue (
260259 repo .Owner ,
@@ -267,19 +266,19 @@ func FinishWorkingOnIssue(issueID IssueID) error {
267266
268267 }
269268
270- Log .Infof ( " 🧹 \t Cleaning up issue workdir" )
269+ Log .Infofp ( "🧹" , "Cleaning up issue workdir" )
271270
272271 if err := os .RemoveAll (issue .Dir ); err != nil {
273272 return err
274273 }
275274
276- Log .Infof ( " 🫥 \t Removing issue config" )
275+ Log .Infofp ( "🫥" , "Removing issue config" )
277276
278277 if err := config .DeleteIssue (issueID ); err != nil {
279278 return err
280279 }
281280
282- Log .Infof ( " 👍 \t All done!" )
281+ Log .Infofp ( "👍" , "All done!" )
283282
284283 return nil
285284}
0 commit comments