Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c20099

Browse files
authored
add missing newlines
1 parent23351fb commit6c20099

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cli/favorite.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (r *RootCmd) favorite() *clibase.Cmd {
2929
iferr:=client.FavoriteWorkspace(inv.Context(),ws.ID);err!=nil {
3030
returnxerrors.Errorf("favorite workspace: %w",err)
3131
}
32-
_,_=fmt.Fprintf(inv.Stdout,"Workspace %q added to favorites.",ws.Name)
32+
_,_=fmt.Fprintf(inv.Stdout,"Workspace %q added to favorites.\n",ws.Name)
3333
returnnil
3434
},
3535
}
@@ -56,7 +56,7 @@ func (r *RootCmd) unfavorite() *clibase.Cmd {
5656
iferr:=client.UnfavoriteWorkspace(inv.Context(),ws.ID);err!=nil {
5757
returnxerrors.Errorf("unfavorite workspace: %w",err)
5858
}
59-
_,_=fmt.Fprintf(inv.Stdout,"Workspace %q removed from favorites.",ws.Name)
59+
_,_=fmt.Fprintf(inv.Stdout,"Workspace %q removed from favorites.\n",ws.Name)
6060
returnnil
6161
},
6262
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp