feat: translate comments and logs to English for better accessibility

This commit is contained in:
didavila
2026-03-25 08:44:39 +01:00
parent ad9a957be4
commit 5f34aa2f89
16 changed files with 87 additions and 65 deletions

View File

@@ -8,6 +8,10 @@ export interface ApiKeyInfo {
const SKIP_DIRS = new Set(['node_modules', '.git', 'dist', '.angular', 'coverage', '.cache']);
/**
* Recursively searches for an `environment.ts` file starting from `dir`,
* up to `maxDepth` directory levels deep.
*/
export function findEnvironmentFile(dir: string, maxDepth = 8, currentDepth = 0): string | null {
if (currentDepth > maxDepth) return null;
try {