From 96d2556209f0303d48b48a37d43dfbeebff75891 Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 22:36:38 +0000 Subject: [PATCH] fix: apply CodeRabbit auto-fixes Fixed 1 file(s) based on 1 unresolved review comment. Co-authored-by: CodeRabbit --- scripts/lint-command-contract.cjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lint-command-contract.cjs b/scripts/lint-command-contract.cjs index f4af95a8b..d9355d4be 100644 --- a/scripts/lint-command-contract.cjs +++ b/scripts/lint-command-contract.cjs @@ -63,13 +63,13 @@ function check(filePath) { // 4+5. execution_context @-refs resolve + no trailing prose const refs = extractExecutionContextRefs(content); - for (const { ref, normalized, hasTrailingProse } of refs) { + for (const { token, normalized, trailingProse } of refs) { const absPath = path.join(GSD_ROOT, normalized); if (!fs.existsSync(absPath)) { violations.push(`execution_context: @-ref "${normalized}" does not exist on disk`); } - if (hasTrailingProse) { - violations.push(`execution_context: @-ref "${ref}" has trailing prose on the same line`); + if (trailingProse) { + violations.push(`execution_context: @-ref "${token}" has trailing prose on the same line`); } }