Skip to content

Commit 37ec88e

Browse files
committed
chore: Fix indentation
1 parent 0c47092 commit 37ec88e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ function resolve(hostname, rrtype, callback) {
5353
const { name, port, priority, weight } = res.match(
5454
/^(?<name>.+):(?<port>\d+),prio=(?<priority>\d+),weight=(?<weight>\d+)$/).groups;
5555
if (providesSrvTypeInResult()) {
56-
return { name, port: +port, priority: +priority, weight: +weight, type: 'SRV' };
57-
} else {
58-
return { name, port: +port, priority: +priority, weight: +weight };
59-
}
56+
return { name, port: +port, priority: +priority, weight: +weight, type: 'SRV' };
57+
} else {
58+
return { name, port: +port, priority: +priority, weight: +weight };
59+
}
6060
}));
6161
}
6262
});

0 commit comments

Comments
 (0)