Skip to content

Commit

Permalink
Remove nil Check
Browse files Browse the repository at this point in the history
Should not check for nil, if it is nil then there's a problem with the reader.
  • Loading branch information
jwaspin committed Jan 31, 2024
1 parent d26adf3 commit 6b71dfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def writeHtml(hDataQuality)
end

# reports
unless hDataQuality[:report].nil? || hDataQuality[:report].empty?
unless hDataQuality[:report].empty?
@html.div(class: 'block') do
@html.div do
@html.div('Reports', {'class' => 'h4'})
Expand Down

0 comments on commit 6b71dfe

Please sign in to comment.