We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4fe58d1 + b77f380 commit 2b8d9abCopy full SHA for 2b8d9ab
util/fileSystem.js
@@ -1,6 +1,6 @@
1
exports.require = function() {
2
var fs = require("fs");
3
- if (process.versions['electron']) {
+ if (process && process.versions && process.versions['electron']) {
4
try {
5
originalFs = require("original-fs");
6
if (Object.keys(originalFs).length > 0) {
0 commit comments