From 7e46fcde8fe8e7028d68a9ff32a34744c479af0c Mon Sep 17 00:00:00 2001 From: Priyam Brahmbhatt Date: Thu, 31 Jan 2019 15:32:57 -0500 Subject: [PATCH] updated environment.js to use const insted of var for constant property (#709) * updated environment.js to use const insted of var for constant property * Added use strict --- src/shell/environment.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shell/environment.js b/src/shell/environment.js index a86a625..8c0c52b 100644 --- a/src/shell/environment.js +++ b/src/shell/environment.js @@ -1,4 +1,5 @@ -var defaults = require('../constants.js').ENVIRONMENT; +'use strict'; +const defaults = require('../constants.js').ENVIRONMENT; module.exports = function Environment(env) { env = env || {};