Skip to content
Permalink
Browse files

test: improve test-cluster-net-listen.js

convert var to const

PR-URL: #9953
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
  • Loading branch information...
Rico Cai authored and Trott committed Dec 1, 2016
1 parent 0304848 commit 2bba2d21bd40ee8573c1fec6172e1eef48de301b
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/parallel/test-cluster-net-listen.js
@@ -1,8 +1,8 @@
'use strict';
var common = require('../common');
var assert = require('assert');
var cluster = require('cluster');
var net = require('net');
const common = require('../common');
const assert = require('assert');
const cluster = require('cluster');
const net = require('net');

if (cluster.isMaster) {
// ensure that the worker exits peacefully

0 comments on commit 2bba2d2

Please sign in to comment.
You can’t perform that action at this time.