refactor: added listen callback function (#4096)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Luca Pizzini 2022-05-04 20:42:36 +02:00 committed by GitHub
parent 5affc9d08e
commit 1de70bd130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,6 +135,6 @@ server = http.createServer(function (req, res) {
const PORT = argv.p || 3000;
server.listen(PORT);
console.log("Examples running on " + PORT);
server.listen(PORT, () => {
console.log(`Examples running on ${PORT}`);
});