-
Notifications
You must be signed in to change notification settings - Fork 53
CHANGE @W-17053004@ Polished run command output #1669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
57f700b to
6f2a293
Compare
|
|
||
| this.display.displayLog(getMessage(BundleName.ResultsViewer, 'summary.table.found-results', [ | ||
| violations.length, this.countUniqueFiles(violations), parentFolder])); | ||
| this.display.displayLog(getMessage(BundleName.ResultsViewer, 'summary.table.results-relative-to', [parentFolder])); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to show this if there are no results?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't show if there are no results. The method is only called when there are results to show.
6f2a293 to
854e2aa
Compare
854e2aa to
e50d4f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New messages are the still-relevant ones from the now-deleted run-summary-viewer.md.
| } | ||
| } | ||
|
|
||
| export class RunActionSummaryViewer extends AbstractActionSummaryViewer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code is almost identical to the code from RunSummaryViewer.ts, but it's different to accomplish the goals of the story.
This PR does the following:
Found X violations across Y filesmessage to the Summary portion of the output instead of the View portion.detailformat no longer has a message.tableformat just says what the paths are relative to.