Skip to content

Commit

Permalink
Small linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
f3ng3r authored and tatomyr committed Oct 26, 2023
1 parent edd78bc commit 25290bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/cli/src/commands/preview-docs/preview-server/hot.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
}

// Other IPv6 addresses must be wrapped in brackets
if (host.includes("::")) {
return `[${host}]`
if (host.includes('::')) {
return `[${host}]`;
}

// Otherwise return as-is
return host
return host;
}

function reconnect() {
Expand Down Expand Up @@ -52,7 +52,7 @@
});

socket.on('error', () => {
console.log('[hot] Error connecting to hot reloading server')
console.log('[hot] Error connecting to hot reloading server');
socket.destroy();
});
}
Expand Down

0 comments on commit 25290bf

Please sign in to comment.