fix(immutable-backups): since index is not immutable anymore we should consider an EPERM Error as relevantt

This commit is contained in:
Florent Beauchamp 2024-02-01 15:29:31 +00:00 committed by Julien Fontanet
parent b7af74e27e
commit e226db708a

View File

@ -55,7 +55,7 @@ async function handleExistingFile(root, indexPath, path) {
}
}
} catch (err) {
if (err.code !== 'EEXIST' && err.code !== 'EPERM') {
if (err.code !== 'EEXIST') {
// there can be a symbolic link in the tree
warn('handleExistingFile', err)
}