X Tutup
Skip to content

Commit 9025838

Browse files
committed
update error text
1 parent bfd1d80 commit 9025838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/pr_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func prCreate(cmd *cobra.Command, _ []string) error {
175175

176176
if action == SubmitAction {
177177
if title == "" {
178-
return fmt.Errorf("Can't create a PR without a title.")
178+
return fmt.Errorf("pull request title must not be blank")
179179
}
180180

181181
params := map[string]interface{}{

0 commit comments

Comments
 (0)
X Tutup