mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix EACCES error code name
This commit is contained in:
committed by
Jamie Kyle
parent
58d53527e0
commit
16c9c17cc2
@@ -75,7 +75,7 @@ async function doGracefulRename({
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
if (error.code !== 'EACCESS' && error.code !== 'EPERM') {
|
||||
if (error.code !== 'EACCES' && error.code !== 'EPERM') {
|
||||
throw error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user