fix: lint

pull/399/head
Kobi Meirson 2022-10-17 15:34:58 +03:00
parent 8e2d5436f7
commit dd83c6afb5
No known key found for this signature in database
GPG Key ID: 5D66F732B037CDE1
3 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ export default (domains, global) => {
if (global.logging.accessLog.computed) {
config.http.push(['access_log', global.logging.accessLogPath.computed.trim() +
(global.logging.cloudflare.computed ? ' cloudflare' : '') +
(global.logging.accessLogArguments.computed ? ` ${global.logging.accessLogArguments.computed.trim()}` : '')
(global.logging.accessLogArguments.computed ? ` ${global.logging.accessLogArguments.computed.trim()}` : ''),
]);
} else {
config.http.push(['access_log', 'off']);

View File

@ -228,7 +228,7 @@ export default (domain, domains, global, ipPortPairs) => {
serverConfig.push(['access_log',
getAccessLogDomainPath(domain, global) +
(global.logging.cloudflare.computed ? ' cloudflare' : '') +
(global.logging.accessLogArguments.computed ? ` ${global.logging.accessLogArguments.computed.trim()}`: '')
(global.logging.accessLogArguments.computed ? ` ${global.logging.accessLogArguments.computed.trim()}`: ''),
]);
if (domain.logging.errorLog.computed)

View File

@ -307,7 +307,7 @@ THE SOFTWARE.
}
},
deep: true,
}
},
},
};
</script>