From ff5458aedf353e1ac6731f5b36371a2206085938 Mon Sep 17 00:00:00 2001 From: Robert James Gabriel Date: Wed, 10 Jul 2019 00:53:36 -0400 Subject: [PATCH] Replaced var with const for root.js Addresses replace-var-with-let/const Credit: @RobertJGabriel PR-URL: https://github.com/npm/cli/pull/211 Close: #211 Reviewed-by: @isaacs --- lib/root.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/root.js b/lib/root.js index 82a804aff5391..97d76c120f807 100644 --- a/lib/root.js +++ b/lib/root.js @@ -1,7 +1,7 @@ module.exports = root -var npm = require('./npm.js') -var output = require('./utils/output.js') +const npm = require('./npm.js') +const output = require('./utils/output.js') root.usage = 'npm root [-g]'