(name: string)
| 72 | } |
| 73 | |
| 74 | function looksLikeSecret(name: string): boolean { |
| 75 | const words = splitIntoWords(name) |
| 76 | if (words.some((w) => DANGEROUS_WORDS.has(w))) return true |
| 77 | const normalized = name.replace(/[_\-\s]/g, '').toLowerCase() |
| 78 | return COMPOUND_PATTERNS.some((p) => normalized.includes(p)) |
| 79 | } |
| 80 | |
| 81 | function resolveRef( |
| 82 | ref: string, |
no test coverage detected