mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Fixed favicon dir.
This commit is contained in:
parent
c52b623679
commit
43c0cdfd1e
1 changed files with 1 additions and 3 deletions
|
@ -36,10 +36,8 @@ describe(__filename, function () {
|
|||
delete settings.skinName;
|
||||
Object.assign(settings, backupSettings);
|
||||
try {
|
||||
// TODO: The {recursive: true} option wasn't added to fsp.rmdir() until Node.js v12.10.0 so we
|
||||
// can't rely on it until support for Node.js v10 is dropped.
|
||||
await fsp.unlink(path.join(skinDir, 'favicon.ico'));
|
||||
await fsp.rmdir(skinDir, {recursive: true});
|
||||
await fsp.rm(skinDir, {recursive: true});
|
||||
} catch (err) { /* intentionally ignored */ }
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue