From 616b02175550824610d53265f3b098a6461c5871 Mon Sep 17 00:00:00 2001 From: Priyam Brahmbhatt Date: Tue, 29 Jan 2019 19:45:40 -0500 Subject: [PATCH 1/2] updated environment.js to use const insted of var for constant property --- src/shell/environment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/environment.js b/src/shell/environment.js index a86a6259..7965287a 100644 --- a/src/shell/environment.js +++ b/src/shell/environment.js @@ -1,4 +1,4 @@ -var defaults = require('../constants.js').ENVIRONMENT; +const defaults = require('../constants.js').ENVIRONMENT; module.exports = function Environment(env) { env = env || {}; From d6ee5425f41198cbb4a8065b13dd8f9a69cf2dd4 Mon Sep 17 00:00:00 2001 From: Priyam Brahmbhatt Date: Wed, 30 Jan 2019 22:14:52 -0500 Subject: [PATCH 2/2] Added use strict --- src/shell/environment.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell/environment.js b/src/shell/environment.js index 7965287a..8c0c52bb 100644 --- a/src/shell/environment.js +++ b/src/shell/environment.js @@ -1,3 +1,4 @@ +'use strict'; const defaults = require('../constants.js').ENVIRONMENT; module.exports = function Environment(env) {