Use const

This commit is contained in:
Jessica Lord 2016-01-14 13:21:11 -08:00
parent 3a0fb42737
commit 1779701445
10 changed files with 92 additions and 130 deletions

View file

@ -1,7 +1,6 @@
// Do not expose the internal modules to `require`.
exports.hideInternalModules = function() {
var globalPaths;
globalPaths = require('module').globalPaths;
var globalPaths = require('module').globalPaths;
if (globalPaths.length === 3) {
// Remove the "common/api/lib" and "browser-or-renderer/api/lib".