Skip to content

Commit 4bf4e3e

Browse files
committed
Fix } and else
1 parent ea0eb4a commit 4bf4e3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/http-server

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ function listen(port) {
129129

130130
if (argv.a && host !== '0.0.0.0') {
131131
logger.info((' ' + protocol + canonicalHost + ':' + port.toString()).green);
132-
} else {
132+
}
133+
else {
133134
Object.keys(ifaces).forEach(function (dev) {
134135
ifaces[dev].forEach(function (details) {
135136
if (details.family === 'IPv4') {

0 commit comments

Comments
 (0)