Skip to content

Commit

Permalink
Try to fix the lint ruby script
Browse files Browse the repository at this point in the history
  • Loading branch information
bebatut committed Jan 23, 2024
1 parent 16f2ab5 commit 9542ceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/lint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 9542ceb

Please sign in to comment.