mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -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
|
@ -132,7 +132,7 @@ exports.makeAbsolute = (somePath) => {
|
|||
return somePath;
|
||||
}
|
||||
|
||||
const rewrittenPath = path.normalize(path.join(exports.findEtherpadRoot(), somePath));
|
||||
const rewrittenPath = path.join(exports.findEtherpadRoot(), somePath);
|
||||
|
||||
absPathLogger.debug(`Relative path "${somePath}" can be rewritten to "${rewrittenPath}"`);
|
||||
return rewrittenPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue