| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 96babb2 commit d047f8e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1453,8 +1453,8 @@ const splitRootRe = isWindows ? | |||
| 1453 | 1453 | /^(?:[a-zA-Z]:|[\\/]{2}[^\\/]+[\\/][^\\/]+)?[\\/]*/ : | |
| 1454 | 1454 | /^[/]*/; | |
| 1455 | 1455 | ||
| 1456 | - function encodeRealpathResult(result, options, err) { | ||
| 1457 | - if (!options || !options.encoding || options.encoding === 'utf8' || err) | ||
| 1456 | + function encodeRealpathResult(result, options) { | ||
| 1457 | + if (!options || !options.encoding || options.encoding === 'utf8') | ||
| 1458 | 1458 | return result; | |
| 1459 | 1459 | const asBuffer = Buffer.from(result); | |
| 1460 | 1460 | if (options.encoding === 'buffer') { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments