mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Remove unnecessary path.normalize()
calls
`path.join()` already normalizes.
This commit is contained in:
parent
84c1d74f8b
commit
f868788417
6 changed files with 9 additions and 10 deletions
|
@ -44,7 +44,7 @@ try {
|
|||
_crypto = undefined;
|
||||
}
|
||||
|
||||
let CACHE_DIR = path.normalize(path.join(settings.root, 'var/'));
|
||||
let CACHE_DIR = path.join(settings.root, 'var/');
|
||||
CACHE_DIR = existsSync(CACHE_DIR) ? CACHE_DIR : undefined;
|
||||
|
||||
const responseCache = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue