mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 23:53:07 +01:00
fix: resolve biome lint errors
- Use optional chaining for nullable checks - Replace template literals with string literals for plain SQL - Add node: protocol to fs/promises import in setup.js
This commit is contained in:
1 parent
4a0f212289
commit
35ad8227d7
3 files changed
+11
-11
No files matched your search
@@ -21,7 +21,7 @@ const omissions = () => {
|
||||
* @returns {Promise}
|
||||
*/
|
||||
const fetchLocationAccessLists = async (host) => {
|
||||
if (!host.locations || !host.locations.length) {
|
||||
if (!host.locations?.length) {
|
||||
return;
|
||||
}
|
||||
for (let i = 0; i < host.locations.length; i++) {
|
||||
|
||||
Reference in new issue
Block a user