-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add 2 new properties to provide warnings and error counts based on result filter #25
Add 2 new properties to provide warnings and error counts based on result filter #25
Conversation
…sult filter The computed properties use the same logic that is used in the report function.
@@ -40,6 +40,11 @@ public final class XCodeSummary { | |||
public var warningsCount: Int { | |||
return warnings.count | |||
} | |||
|
|||
/// Numbber of warnings filtered using the provided result filter |
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.
Number typo
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.
fixed
@@ -40,6 +40,11 @@ public final class XCodeSummary { | |||
public var warningsCount: Int { | |||
return warnings.count | |||
} | |||
|
|||
/// Numbber of warnings filtered using the provided result filter | |||
public var filteredWariningCount: Int { |
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.
filteredWariningCount typo
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.
Fixed
@f-meloni let me if this approach works |
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.
Thank you very much for the PR :)
@f-meloni only you have write access so i guess you'll have to merge PR. I added test to check but i'm unable to run the test target. |
Hey @theScud I dropped the ball with this, sorry I completely missed your message. |
The computed properties use the same logic that is used in the report function.
Addresses Issue : #23
Note: this preliminary PR just to discuss approach i'll be adding test and docs after approach has been approved