Skip to content

Commit f672861

Browse files
authored
Linting. (#1057)
1 parent 6312adc commit f672861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/util/eventedhttp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ export class HAPConnection extends EventEmitter {
848848
const interfaces = os.networkInterfaces();
849849

850850
// Default to the first non-loopback interface we see.
851-
const defaultInterface = () => Object.entries(interfaces).find(([name, addresses]) => addresses?.some(address => !address.internal))?.[0] ?? "unknown";
851+
const defaultInterface = () => Object.entries(interfaces).find(([, addresses]) => addresses?.some(address => !address.internal))?.[0] ?? "unknown";
852852

853853
// No local address return our default.
854854
if(!localAddress) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy