Skip to content

Commit

Permalink
🚀 Deploy new version [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pabio-escobar committed Dec 13, 2023
1 parent 3cc3be2 commit cf6ed7b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1994,11 +1994,13 @@ const update = async (shouldCommit = false) => {
if (net_1.isIP(url)) {
if (site.ipv6 && !net_1.isIPv6(url))
throw new Error("Site URL must be IPv6 for ipv6 check");
else if (site.ipv6)
}
else {
if (site.ipv6)
address = (await dns_1.default.promises.resolve6(url))[0];
else
address = (await dns_1.default.promises.resolve4(url))[0];
if (net_1.isIP(url) && !net_1.isIP(address))
if (!net_1.isIP(address))
throw new Error("Site IP address could not be resolved");
}
const tcpResult = await ping_1.ping({
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/update.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/update.js.map

Large diffs are not rendered by default.

0 comments on commit cf6ed7b

Please sign in to comment.