Skip to content

Commit

Permalink
eslint --fix .
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jul 29, 2018
1 parent aa33dde commit 8ad42e4
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,20 @@ async function hyperlink(
}

const socket = (isTls ? tls : net)
.connect(port, hostname, () => {
reportTest({
...connectionReport,
ok: true
});
.connect(
port,
hostname,
() => {
reportTest({
...connectionReport,
ok: true
});

socket.destroy();
socket.destroy();

callback();
})
callback();
}
)
.on('error', error => {
const code = error.code;
const message = error.message;
Expand Down

0 comments on commit 8ad42e4

Please sign in to comment.