summaryrefslogtreecommitdiff
path: root/node_modules/@nodelib/fs.stat/out/providers/sync.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@nodelib/fs.stat/out/providers/sync.js')
-rw-r--r--node_modules/@nodelib/fs.stat/out/providers/sync.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/node_modules/@nodelib/fs.stat/out/providers/sync.js b/node_modules/@nodelib/fs.stat/out/providers/sync.js
deleted file mode 100644
index 1521c361..00000000
--- a/node_modules/@nodelib/fs.stat/out/providers/sync.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.read = void 0;
-function read(path, settings) {
- const lstat = settings.fs.lstatSync(path);
- if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
- return lstat;
- }
- try {
- const stat = settings.fs.statSync(path);
- if (settings.markSymbolicLink) {
- stat.isSymbolicLink = () => true;
- }
- return stat;
- }
- catch (error) {
- if (!settings.throwErrorOnBrokenSymbolicLink) {
- return lstat;
- }
- throw error;
- }
-}
-exports.read = read;