mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 22:01:47 +00:00
bun run prettier
This commit is contained in:
committed by
github-actions[bot]
parent
8ce67a22a9
commit
e2e53b03c1
@@ -90,7 +90,7 @@ function isIP(s): 0 | 4 | 6 {
|
||||
|
||||
function isLocalAddress(addr: string): boolean {
|
||||
if (!addr) return false;
|
||||
if (addr === '0.0.0.0' || addr === '::') return true;
|
||||
if (addr === "0.0.0.0" || addr === "::") return true;
|
||||
const interfaces = os.networkInterfaces();
|
||||
for (const name in interfaces) {
|
||||
const list = interfaces[name];
|
||||
|
||||
Reference in New Issue
Block a user