Update the resolveHostnames function to clarify its behavior and improve documentation
| @@ -79,8 +79,8 @@ function isIpFormat(entry) { | ||
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | 82 | * Validate the IPResolves addresseshostnames in the whitelist to IP addresses. |
| 83 | 83 | * HostnamesThis arefunction resolvedwill tomodify IPthe addresseswhitelist array in place. |
| 84 | 84 | */ |
| 85 | 85 | async function resolveHostnames() { |
| 86 | 86 | for (let i = 0; i < whitelist.length; i++) { |