Skip to content

Commit

Permalink
Remove unused files.js exports
Browse files Browse the repository at this point in the history
  • Loading branch information
valadaptive committed Feb 22, 2024
1 parent 59b5035 commit 7cdd7a6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions etc/browser/lib/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ function tryReadFileSync() { return null; }
module.exports = {
createImportHook,
createSyncImportHook,
existsSync: function () { return false; },
readFileSync: function () { throw createError(); },
tryReadFileSync,
};
3 changes: 0 additions & 3 deletions lib/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,5 @@ function tryReadFileSync(str) {
module.exports = {
createImportHook,
createSyncImportHook,
// Proxy a few methods to better shim them for browserify.
existsSync: fs.existsSync,
readFileSync: fs.readFileSync,
tryReadFileSync
};

0 comments on commit 7cdd7a6

Please sign in to comment.