Skip to content

Commit c0d1c6b

Browse files
authored
Add SSH_AUTH_SOCK to EnvironmentVariables.nonCachableKeys (#7272)
Yet another environment variable that shouldn't trigger full package rebuilds. Resolves rdar://107029374
1 parent cdceff5 commit c0d1c6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/Basics/EnvironmentVariables.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ extension EnvironmentVariables {
6464
// rdar://107029374
6565
extension EnvironmentVariables {
6666
// internal for testing
67-
internal static let nonCachableKeys: Set<String> = [
67+
static let nonCachableKeys: Set<String> = [
6868
"TERM",
6969
"TERM_PROGRAM",
7070
"TERM_PROGRAM_VERSION",
@@ -79,6 +79,7 @@ extension EnvironmentVariables {
7979
"LS_COLORS",
8080
"VSCODE_IPC_HOOK_CLI",
8181
"HYPERFINE_RANDOMIZED_ENVIRONMENT_OFFSET",
82+
"SSH_AUTH_SOCK",
8283
]
8384

8485
public var cachable: EnvironmentVariables {

0 commit comments

Comments
 (0)