mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
lint: Re-run eslint --fix
This commit is contained in:
parent
30eadad79d
commit
59c03bde20
6 changed files with 6 additions and 8 deletions
|
@ -156,7 +156,7 @@ async function mapAuthorWithDBKey(mapperkey, mapper) {
|
|||
|
||||
// return the author
|
||||
return {authorID: author};
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal function that creates the database entry for an author
|
||||
|
|
|
@ -23,7 +23,7 @@ const staticPathsRE = new RegExp(`^/(?:${[
|
|||
'robots.txt',
|
||||
'static/.*',
|
||||
'stats/?',
|
||||
'tests/frontend(?:/.*)?'
|
||||
'tests/frontend(?:/.*)?',
|
||||
].join('|')})$`);
|
||||
|
||||
exports.normalizeAuthzLevel = (level) => {
|
||||
|
|
|
@ -602,7 +602,7 @@ const lookupEnvironmentVariables = (obj) => {
|
|||
const defaultValue = match[3];
|
||||
|
||||
if ((envVarValue === undefined) && (defaultValue === undefined)) {
|
||||
console.warn(`Environment variable "${envVarName}" does not contain any value for `+
|
||||
console.warn(`Environment variable "${envVarName}" does not contain any value for ` +
|
||||
`configuration key "${key}", and no default was given. Returning null.`);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue