1
0

auto-git:

[change] main.js
This commit is contained in:
2025-06-01 06:32:39 +02:00
parent 8cb03fcecf
commit 3d1f0af17d

View File

@@ -379,7 +379,7 @@ async function ensureIgnoredInGitignore(folderPath, entry) {
const newContent = content.trim().length > 0
? content.trim() + '\n' + entry + '\n'
: entry + '\n';
await fs.writeFile(gitignorePath, newContent, 'utf8');
await fs.promises.writeFile(gitignorePath, newContent, 'utf8');
debug(`[IGNORE] Eintrag "${entry}" zu .gitignore hinzugefügt in ${folderPath}`);
return true;
}