From 9542ceb6412e8da92453cc4a84a961481c57f5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9r=C3=A9nice=20Batut?= Date: Tue, 23 Jan 2024 15:48:42 +0100 Subject: [PATCH] Try to fix the lint ruby script --- bin/lint.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/lint.rb b/bin/lint.rb index 30bacc737e65db..2e618a270c4b3a 100755 --- a/bin/lint.rb +++ b/bin/lint.rb @@ -570,7 +570,7 @@ def self.empty_alt_text(contents) match_start: selected.begin(0), match_end: selected.end(0), replacement: nil, - message: "The alt text for this image seems to be empty", + message: 'The alt text for this image seems to be empty', code: 'GTN:034' ) end @@ -604,7 +604,7 @@ def self.check_bad_link(contents) match_start: selected.begin(0), match_end: selected.end(0), replacement: nil, - message: "The link does not seem to have a target.", + message: 'The link does not seem to have a target.', code: 'GTN:018' ) end @@ -789,7 +789,7 @@ def self.fix_md(contents) *check_bolded_heading(contents), *snippets_too_close_together(contents), *zenodo_api(contents), - *empty_alt_text(contents), + *empty_alt_text(contents) ] end