docs: annotate nix path resolution

This commit is contained in:
Peter Steinberger
2026-01-01 09:30:12 +01:00
parent f6956320f9
commit 0a9f06d60f
4 changed files with 4 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import Foundation
enum ClawdisEnv {
static func path(_ key: String) -> String? {
// Normalize env overrides once so UI + file IO stay consistent.
guard let value = ProcessInfo.processInfo.environment[key]?
.trimmingCharacters(in: .whitespacesAndNewlines),
!value.isEmpty