Skip to content

Commit

Permalink
Merge branch 'main' into markowsky/add-build-matrix-to-ci-yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarkowsky committed Oct 26, 2021
2 parents 08da9c8 + 727b009 commit 3e2df22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions Source/santad/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ objc_library(
"//Source/common:SNTCommonEnums",
"//Source/common:SNTConfigurator",
"//Source/common:SNTMetricSet",
"//Source/common:SNTSystemInfo",
],
)

Expand Down
7 changes: 2 additions & 5 deletions Source/santad/SNTApplicationCoreMetricsTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#import "Source/common/SNTCommonEnums.h"
#import "Source/common/SNTConfigurator.h"
#import "Source/common/SNTMetricSet.h"
#import "Source/common/SNTSystemInfo.h"
#import "Source/santad/SNTApplicationCoreMetrics.h"
#import "Source/santametricservice/Formats/SNTMetricFormatTestHelper.h"

Expand Down Expand Up @@ -80,11 +81,7 @@ - (void)testRegisteringCoreMetrics {

NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];

NSProcessInfo *processInfo = [NSProcessInfo processInfo];
NSString *shortOSVersion =
[NSString stringWithFormat:@"%ld.%ld.%ld", processInfo.operatingSystemVersion.majorVersion,
processInfo.operatingSystemVersion.minorVersion,
processInfo.operatingSystemVersion.patchVersion];
NSString *shortOSVersion = [SNTSystemInfo osVersion];

NSDateFormatter *formatter = [[NSDateFormatter alloc] init];

Expand Down

0 comments on commit 3e2df22

Please sign in to comment.