Skip to content

Commit 1026d02

Browse files
committed
Don't change current SwiftTool behavior in this PR
1 parent 4263226 commit 1026d02

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Sources/Commands/SwiftTool.swift

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,12 @@ public class SwiftTool {
498498
if let workspaceNetrc = try self.getNetrcConfig()?.get() {
499499
providers.append(workspaceNetrc)
500500
}
501-
#if canImport(Security)
502-
providers.append(KeychainAuthorizationProvider())
503-
#endif
501+
502+
// TODO: add --no-keychain option to allow opt-out
503+
//#if canImport(Security)
504+
// providers.append(KeychainAuthorizationProvider())
505+
//#endif
506+
504507
return providers.isEmpty ? nil : CompositeAuthorizationProvider(providers)
505508
}
506509

0 commit comments

Comments
 (0)