fix: Do not delete .idea while doing the cleanup

It also makes sure only root level directories are excluded

Closes #18308
This commit is contained in:
Andrey Okonetchnikov 2022-05-24 12:25:49 +02:00
parent 4b849f9bcd
commit e77f583467

View File

@ -11,8 +11,8 @@ const cleaningProcess = spawn('git', [
'clean',
'-xdf',
'-n',
'--exclude=".vscode"',
'--exclude=".idea"',
'--exclude="/.vscode"',
'--exclude="/.idea"',
]);
cleaningProcess.stdout.on('data', (data) => {