(filePath: string)
| 73 | const ENV_TEMPLATE_SUFFIXES = ['.env.example', '.env.sample', '.env.template'] |
| 74 | |
| 75 | export const isEnvTemplateFile = (filePath: string) => |
| 76 | ENV_TEMPLATE_SUFFIXES.some((suffix) => |
| 77 | path.basename(filePath).endsWith(suffix), |
| 78 | ) |
| 79 | |
| 80 | /** |
| 81 | * Check if a file is a sensitive file that should be blocked from reading. |
no outgoing calls
no test coverage detected