From 8caebaf9fdfcb7e4d1820061f17220f695f10878 Mon Sep 17 00:00:00 2001 From: F1248 Date: Sun, 18 Aug 2024 21:56:20 +0200 Subject: [PATCH] Fix code style --- OpenMacHelper/Types/SystemInformation/Hardware.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenMacHelper/Types/SystemInformation/Hardware.swift b/OpenMacHelper/Types/SystemInformation/Hardware.swift index 9755192..1373477 100644 --- a/OpenMacHelper/Types/SystemInformation/Hardware.swift +++ b/OpenMacHelper/Types/SystemInformation/Hardware.swift @@ -78,7 +78,9 @@ extension SystemInformation { ) return (components?[0], components?[1], components?[2]) } - if Model.intelBased { return (SystemProfiler.hardware?["number_processors"] as? Int, nil, nil) } + if Model.intelBased { + return (SystemProfiler.hardware?["number_processors"] as? Int, nil, nil) + } return nil }() static let total: Int? = cores?.0