Skip to content

Commit 15ab041

Browse files
committed
fix(pm): the local-env fixture names no ROOT_DIR_WATCH_HINTS, so check:watch-hint-literal does not read it as a live declaration
Measured by the derived sweep for this diff: `pnpm check:watch-hint-literal` exit 1, "every live declaration is a literal -- scripts/pm/dispatch-gates.mjs: ROOT_DIR_WATCH_HINTS". The fixture needed no watch-hint idiom at all; its first line is now an unrostered constant, and the case still pins the declaration on line 3. Claude-Session: https://claude.ai/code/session_01MjvgiFAmjHqsxy1XLiVYfH Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2397354 commit 15ab041

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/pm/dispatch-gates.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17982,7 +17982,7 @@ function selfTest() {
1798217982
' run: node scripts/check-issue-citations.mjs --census',
1798317983
].join('\n');
1798417984
const localEnvSource = [
17985-
"export const ROOT_DIR_WATCH_HINTS = ['packages/**'];",
17985+
"export const SURFACES = ['packages/**'];",
1798617986
'',
1798717987
'// dispatch-gates: local-env GITHUB_TOKEN OS_GATE_MERGE_GROUP_BASE_SHA -- the bare diff run reads a public board and falls back to the merge base',
1798817988
'',

0 commit comments

Comments
 (0)