We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5e58db commit ed0160eCopy full SHA for ed0160e
Sources/MacOSPlatform/MacOS.swift
@@ -117,7 +117,7 @@ public struct MacOS: Platform {
117
118
if ctx.mockedHomeDir == nil {
119
await ctx.message("Extracting the swiftly package...")
120
- sys.installer(
+ _ = sys.installer(
121
.pkg(archive),
122
.target("CurrentUserHomeDirectory")
123
)
@@ -193,7 +193,7 @@ public struct MacOS: Platform {
193
}
194
195
public func getShell() async throws -> String {
196
- for (key, value) in try await sys.dscl(datasource: ".").read(path: fs.home, key: ["UserShell"]).properties(self) {
+ for (_, value) in try await sys.dscl(datasource: ".").read(path: fs.home, key: ["UserShell"]).properties(self) {
197
return value
198
199
0 commit comments