From 81491c38c6ef0226f082af0d60cc46aa6e531a17 Mon Sep 17 00:00:00 2001 From: Miguel Piedrafita Date: Mon, 5 Dec 2016 20:44:54 +0100 Subject: [PATCH] Update Dangerfile --- Dangerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dangerfile b/Dangerfile index fd5da91..a08a24f 100644 --- a/Dangerfile +++ b/Dangerfile @@ -13,7 +13,7 @@ fail 'Please replace **[Explain what this list is about and why it should be inc fail 'Please update the Pull Request title to contain the script name' if github.pr_title.include? 'Update README.md' # Warn when there are merge commits in the diff -warn 'Please rebase to get rid of the merge commits in this Pull Request' if git.commits.any? { |c| c.message =~ /^Merge branch 'master'/ } +fail 'Please rebase to get rid of the merge commits in this Pull Request' if git.commits.any? { |c| c.message =~ /^Merge branch 'master'/ } # Check links if has_readme_changes