| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ef01f0c commit 606184f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1648,7 +1648,7 @@ function statfs(path, options = { bigint: false }, callback) { | |||
| 1648 | 1648 | ||
| 1649 | 1649 | callback(err, getStatFsFromBinding(stats)); | |
| 1650 | 1650 | }; | |
| 1651 | - binding.statfs(getValidatedPath(path), options.bigint, req); | ||
| 1651 | + binding.statfs(path, options.bigint, req); | ||
| 1652 | 1652 | } | |
| 1653 | 1653 | ||
| 1654 | 1654 | /** | |
@@ -1683,7 +1683,7 @@ function lstatSync(path, options = { bigint: false, throwIfNoEntry: true }) { | |||
| 1683 | 1683 | throw new ERR_ACCESS_DENIED('Access to this API has been restricted', 'FileSystemRead', resource); | |
| 1684 | 1684 | } | |
| 1685 | 1685 | const stats = binding.lstat( | |
| 1686 | - getValidatedPath(path), | ||
| 1686 | + path, | ||
| 1687 | 1687 | options.bigint, | |
| 1688 | 1688 | undefined, | |
| 1689 | 1689 | options.throwIfNoEntry, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments