Skip to content

Commit b5dfeca

Browse files
committed
Fix formatting
1 parent 7a99bee commit b5dfeca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Sources/KSCrashDiscSpaceMonitor/KSCrashMonitor_DiscSpace.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ static uint64_t getStorageSize(void)
4848

4949
static uint64_t getFreeStorageSize(void)
5050
{
51-
NSNumber *freeStorageSize = [[[NSFileManager defaultManager] attributesOfFileSystemForPath:NSHomeDirectory() error:nil]
52-
objectForKey:NSFileSystemFreeSize];
51+
NSNumber *freeStorageSize =
52+
[[[NSFileManager defaultManager] attributesOfFileSystemForPath:NSHomeDirectory()
53+
error:nil] objectForKey:NSFileSystemFreeSize];
5354
return freeStorageSize.unsignedLongLongValue;
5455
}
5556

Sources/KSCrashRecording/KSCrash.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ - (NSDictionary *)systemInfo
232232
COPY_PRIMITIVE(parentProcessID);
233233
COPY_STRING(deviceAppHash);
234234
COPY_STRING(buildType);
235-
COPY_PRIMITIVE(storageSize); // this field is populated in an optional monitor
235+
COPY_PRIMITIVE(storageSize); // this field is populated in an optional monitor
236236
COPY_PRIMITIVE(freeStorageSize); // this field is populated in an optional monitor
237237
COPY_PRIMITIVE(memorySize);
238238
COPY_PRIMITIVE(freeMemory);

0 commit comments

Comments
 (0)