Skip to content

Commit 211bdb7

Browse files
Antonio Noelclaude
authored andcommitted
fix: prefix unused sync-path integrity var with underscore (lint)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2ca0896 commit 211bdb7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/config/io.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)