Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Hide report in HTML Formatter when the status is
error
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
packages/formatter-html/src/views/partials/scan-error-message.ejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<div id="scan-error" class="scan-error"> | ||
<p> | ||
There was an error and we were only able to partially complete the scan. View the results below or | ||
<% if(result.isScanner) { %><a href="/scanner/">perform another scan</a><% } else { %>run webhint again<% } %>. | ||
There was an error and we were not able to complete the scan. <% if(result.isScanner) { %><a href="/scanner/">Perform another scan</a><% } else { %>Run webhint again<% } %>. | ||
<p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters