diff --git a/util/fileSystem.js b/util/fileSystem.js index 344816e..bf73ca1 100644 --- a/util/fileSystem.js +++ b/util/fileSystem.js @@ -1,6 +1,6 @@ exports.require = function() { var fs = require("fs"); - if (process.versions['electron']) { + if (process && process.versions && process.versions['electron']) { try { originalFs = require("original-fs"); if (Object.keys(originalFs).length > 0) {