1
0

Refactor isIgnored function to use IGNORED_NAMES

This commit is contained in:
2025-05-26 20:40:48 +02:00
parent 3464119588
commit ce33c3d8f1

View File

@@ -1096,13 +1096,14 @@ function buildTrayMenu() {
ipcMain.handle('set-skip-git-prompt', (_e,val) => store.set('skipGitPrompt', val));
// Auto-Verzeichnisstruktur
const IGNORED_NAMES = [
const IGNORED_NAMES = [
'.DS_Store', 'node_modules', '.git', 'dist', 'build',
'.cache', 'out', '.venv', '.mypy_cache', '__pycache__', 'package-lock.json'
];
function isIgnored(name) {
return IGNORED_NAMES.includes(name);
//return IGNORED_NAMES.includes(name);
return name;
}
function walkDir(base, rel = '.') {