mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
lint: PadManager.js
This commit is contained in:
parent
6b6201b448
commit
3ed4ac649c
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ const padIdTransforms = [
|
||||||
];
|
];
|
||||||
|
|
||||||
// returns a sanitized padId, respecting legacy pad id formats
|
// returns a sanitized padId, respecting legacy pad id formats
|
||||||
exports.sanitizePadId = async function sanitizePadId(padId) {
|
exports.sanitizePadId = async (padId) => {
|
||||||
for (let i = 0, n = padIdTransforms.length; i < n; ++i) {
|
for (let i = 0, n = padIdTransforms.length; i < n; ++i) {
|
||||||
const exists = await exports.doesPadExist(padId);
|
const exists = await exports.doesPadExist(padId);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue