Skip to content

Commit 1a55765

Browse files
committed
Dangerfile: make a link clickable in a message about squashing commits.
Addressed to #537
1 parent ee60f3f commit 1a55765

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dangerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -662,9 +662,8 @@ if commits > 1
662662
)
663663
else
664664
warn(
665-
"danger check: pull request contains #{commits} commits while most of the cases it should have only one.\n"\
666-
"If it's not a special case you should **squash the commits** into single one.\n"\
667-
"You can read how to do it here: https://davidwalsh.name/squash-commits-git\n"\
665+
"danger check: pull request contains #{commits} commits while most of the cases it should have only one. "\
666+
"If it's not a special case you should [**squash the commits**](https://davidwalsh.name/squash-commits-git) into single one.\n"\
668667
"But be careful because **it can destroy** all your changes!"
669668
)
670669
end

0 commit comments

Comments
 (0)