Skip to content

Commit

Permalink
Merge pull request #315 from enecciari/work_in_browser
Browse files Browse the repository at this point in the history
Work in browser
  • Loading branch information
cthackers authored Nov 19, 2020
2 parents 4fe58d1 + b77f380 commit 2b8d9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/fileSystem.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit 2b8d9ab

Please sign in to comment.