Skip to content

Commit

Permalink
fix pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Bayheck committed Jun 22, 2024
1 parent fc705e4 commit 0605a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configuration/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function getValidHostname (hostname: string): Promise<string> {
throw new GeneralError(RUNTIME_ERRORS.invalidHostname, hostname);
}
else {
hostname = getIPAddress() as string;
hostname = getIPAddress() ?? '';

if (!hostname)
throw new GeneralError(RUNTIME_ERRORS.invalidHostname, hostname);
Expand Down

0 comments on commit 0605a16

Please sign in to comment.