File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1109,7 +1109,7 @@ export function createConfigIO(overrides: ConfigIoDeps = {}) {
11091109 const raw = deps . fs . readFileSync ( configPath , "utf-8" ) ;
11101110 // HMAC integrity check: reject config modified outside the gateway.
11111111 const hmacResult = verifyConfigHmac ( configPath , raw ) ;
1112- let configIntegrityWarning : string | undefined ;
1112+ let _configIntegrityWarning : string | undefined ;
11131113 if ( hmacResult . status === "mismatch" ||
11141114 ( hmacResult . status === "no-sig" && hmacResult . suspicious ) ) {
11151115 const reason = hmacResult . status === "mismatch"
@@ -1120,7 +1120,7 @@ export function createConfigIO(overrides: ConfigIoDeps = {}) {
11201120 "External config injection is blocked. " +
11211121 "Use the gateway API (config.patch) to modify config." ;
11221122 deps . logger . error ( warning ) ;
1123- configIntegrityWarning = warning ;
1123+ _configIntegrityWarning = warning ;
11241124 appendConfigSecurityAuditEntrySync ( {
11251125 env : deps . env ,
11261126 homedir : deps . homedir ,
You can’t perform that action at this time.
0 commit comments