Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions platform/swift/source/reports/DiagnosticEventReporter.m
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,6 @@ - (instancetype)initWithVersion:(NSString *)version {
NSRange nameRange = [match rangeWithName:@"osName"];
NSRange versionRange = [match rangeWithName:@"osVersion"];
NSRange buildRange = [match rangeWithName:@"buildNumber"];
if (!nameRange.length || !versionRange.length || !buildRange.length) {
return nil;
}
if (self = [super init]) {
if (!nameRange.length || !versionRange.length || !buildRange.length) {
self.version = version; // pathological case where there's a match but the captures don't hit
Expand Down
Loading