mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: use const for all require() calls
PR-URL: https://github.com/nodejs/node/pull/10550 Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
5250b3358e
commit
dd9aefde69
603 files changed
+1567
-1546
No files matched your search
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
require('../common');
|
||||
var assert = require('assert');
|
||||
const assert = require('assert');
|
||||
|
||||
switch (process.argv[2]) {
|
||||
case 'child1':
|
||||
@@ -70,7 +70,7 @@ function parent() {
|
||||
}
|
||||
|
||||
function test(arg, exit) {
|
||||
var spawn = require('child_process').spawn;
|
||||
const spawn = require('child_process').spawn;
|
||||
var node = process.execPath;
|
||||
var f = __filename;
|
||||
var option = { stdio: [ 0, 1, 'ignore' ] };
|
||||
|
||||
Reference in new issue
Block a user