summaryrefslogtreecommitdiff
path: root/test/common/index.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2018-02-13 06:09:31 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2018-02-16 19:37:43 +0100
commit463d1a490f2ed4679f8805fa57084b4445ea40d6 (patch)
tree8f374c61041786a1538e4f1bae05fb297ab2e22c /test/common/index.js
parent36386dc4e349eb593208820949a02e93dc1ffd87 (diff)
downloadandroid-node-v8-463d1a490f2ed4679f8805fa57084b4445ea40d6.tar.gz
android-node-v8-463d1a490f2ed4679f8805fa57084b4445ea40d6.tar.bz2
android-node-v8-463d1a490f2ed4679f8805fa57084b4445ea40d6.zip
test,benchmark,doc: enable dot-notation rule
This enables the eslint dot-notation rule for all code instead of only in /lib. PR-URL: https://github.com/nodejs/node/pull/18749 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com>
Diffstat (limited to 'test/common/index.js')
-rw-r--r--test/common/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/index.js b/test/common/index.js
index 974aa84114..4c2c548830 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -502,7 +502,7 @@ exports.canCreateSymLink = function() {
// whoami.exe needs to be the one from System32
// If unix tools are in the path, they can shadow the one we want,
// so use the full path while executing whoami
- const whoamiPath = path.join(process.env['SystemRoot'],
+ const whoamiPath = path.join(process.env.SystemRoot,
'System32', 'whoami.exe');
try {