mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 16:22:29 +00:00

Manually fix issues that eslint --fix couldn't do automatically. PR-URL: https://github.com/nodejs/node/pull/10685 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
10 lines
174 B
JavaScript
10 lines
174 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const net = require('net');
|
|
|
|
const s = net.createServer();
|
|
s.listen(0);
|
|
s.unref();
|
|
|
|
setTimeout(common.fail, 1000).unref();
|