We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fs
1 parent 3facb3f commit 20d89e8Copy full SHA for 20d89e8
source-map-support.js
@@ -4,7 +4,7 @@ var path = require('path');
4
var fs;
5
try {
6
fs = require('fs');
7
- if (!fs.readFileSync || !fs.readFileSync) {
+ if (!fs.existsSync || !fs.readFileSync) {
8
// fs doesn't have all methods we need
9
fs = null;
10
}
0 commit comments