Content-Length: 268458 | pFad | http://github.com/homebridge/HAP-NodeJS/commit/f672861374720031dac7de0b662c64e803e4d9d5

0D Linting. (#1057) · homebridge/HAP-NodeJS@f672861 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/homebridge/HAP-NodeJS/commit/f672861374720031dac7de0b662c64e803e4d9d5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy