( env: Record<string, string | undefined> = process.env, )
| 4008 | } |
| 4009 | |
| 4010 | export function unconfirmedProductDirectionCloseEnabled( |
| 4011 | env: Record<string, string | undefined> = process.env, |
| 4012 | ): boolean { |
| 4013 | return envFlagEnabled(env.CLAWSWEEPER_UNCONFIRMED_PRODUCT_DIRECTION_CLOSE_ENABLED); |
| 4014 | } |
| 4015 | |
| 4016 | function quoteGitHubSearchTerm(term: string): string { |
| 4017 | return /^[a-z0-9_]+$/i.test(term) ? term : `"${term.replaceAll('"', "")}"`; |
no test coverage detected