Skip to content

Commit 993f328

Browse files
committed
Don't change current SwiftTool behavior in this PR
1 parent a395b37 commit 993f328

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
@@ -501,9 +501,12 @@ public class SwiftTool {
501501
if let workspaceNetrc = try self.getNetrcConfig()?.get() {
502502
providers.append(workspaceNetrc)
503503
}
504-
#if canImport(Security)
505-
providers.append(KeychainAuthorizationProvider())
506-
#endif
504+
505+
// TODO: add --no-keychain option to allow opt-out
506+
//#if canImport(Security)
507+
// providers.append(KeychainAuthorizationProvider())
508+
//#endif
509+
507510
return providers.isEmpty ? nil : CompositeAuthorizationProvider(providers)
508511
}
509512

0 commit comments

Comments
 (0)