Skip to content

Commit 62e540d

Browse files
committed
Dangerfile: messages improvements.
No functional changes.
1 parent 1094952 commit 62e540d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dangerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ if commits > 1
658658
else
659659
warn(
660660
"danger check: pull request contains #{commits} commits while most of the cases it should have only one.\n"\
661-
"If it's not a special case you should squash commits into single one.\n"\
661+
"If it's not a special case you should **squash the commits** into single one.\n"\
662662
"You can read how to do it here: https://davidwalsh.name/squash-commits-git\n"\
663663
"But be careful because **it can destroy** all your changes!"
664664
)
@@ -668,7 +668,7 @@ end
668668
if github.branch_for_head !~ /^gh[0-9]+_/
669669
warn("danger check: branch `#{github.branch_for_head}` does not comply with our best practices. "\
670670
"Branch name should use the following scheme: `ghXXX_meaningful-name` where `XXX` is an issue number. "\
671-
"Next time, please, use this scheme :)"
671+
"**Next time**, please, use this scheme :)"
672672
)
673673
end
674674

0 commit comments

Comments
 (0)