Skip to content

Commit 4d849b2

Browse files
committed
add comment
1 parent d10a774 commit 4d849b2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/ContainerCommands/BuildCommand.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ extension Application {
459459
}
460460
if parts.count == 1 || parts[1].hasPrefix("env=") {
461461
let env = parts.count == 1 ? key : String(parts[1].dropFirst(4))
462+
// Using getenv/strlen over processInfo.environment to support
463+
// non-UTF-8 env var data.
462464
guard let ptr = getenv(env) else {
463465
throw ValidationError("secret env var doesn't exist \(env)")
464466
}

0 commit comments

Comments
 (0)