Skip to content

Commit 34ff98a

Browse files
SakshiKoli-CSclaude
andcommitted
chore(talisman): allow the config parser's key/value lines by pattern
The file was exempted by whole-file checksum, which the regex fix invalidated. Two lines in the git config parser read as a secret to talisman - the entry it pushes with a key and a value beside each other, and valueOf's signature, which takes a key and returns a string. Neither is a credential. Allowing those two shapes instead of re-checksumming keeps the rest of the file scanned and survives the next edit to it. #claude_code# 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f281c9c commit 34ff98a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.talismanrc‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ fileignoreconfig:
142142
- filename: src/core/resolve.test.ts
143143
checksum: d745e6efbb9c4595ee7c57a2625a73d687d3e880a346f53de2d7da183971d875
144144
- filename: src/git/local-repository.ts
145-
checksum: 03d1f815701e27f241782b81fdb4c7d346c1a506c85c23cf8aae51c8bc51a42b
145+
allowed_patterns:
146+
- "key: entry\\[1\\]\\.toLowerCase\\(\\), value: entry\\[2\\]"
147+
- "key: string\\): string \\| undefined"
146148
- filename: src/core/layering.test.ts
147149
checksum: 7a62eca2d63801b98591267dcbaa9e2568b20e1732ab1c744263ddab7f0dbbe8
148150
- filename: src/commands/launch/projects/create.test.ts

0 commit comments

Comments
 (0)