You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 31, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: Dangerfile
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ require "yaml"
2
2
3
3
# Make sure no page got removed
4
4
ifgit.diff_for_file("mkdocs.yml")
5
-
warn("mkdocs.yml was modified - make sure no modification was made by mistake")
5
+
warn("<code>mkdocs.yml</code> was modified - make sure no modification was made by mistake")
6
6
7
7
patch=git.diff_for_file("mkdocs.yml").patch
8
8
@@ -13,7 +13,7 @@ if git.diff_for_file("mkdocs.yml")
13
13
lines.eachdo |current_line|
14
14
ifcurrent_line.start_with?("-")
15
15
page_name=current_line.match(/\-.*\- (.*)/)[1]
16
-
warn("It seems like the page '#{page_name}' got removed from mkdocs.yml, we don't want to remove any public links. Instead please add a redirect to the new page")
16
+
warn("It seems like the page <code>#{page_name}</code> got removed from mkdocs.yml, we don't want to remove any public links. Instead please add a redirect to the new page.")
0 commit comments