diff options
| author | pack <pack@packgekko.xyz> | 2026-08-09 10:54:08 +0000 |
|---|---|---|
| committer | pack <pack@packgekko.xyz> | 2026-08-09 10:54:08 +0000 |
| commit | d3adc16a08d95d6e331de55d7d3bf05a66a874a8 (patch) | |
| tree | a2dabd199501e67c547c2ce79e1374ca3aa55443 /node_modules/tar/dist/esm/normalize-windows-path.js | |
| parent | 55a4f1fc869e41aca748c63d3018f0448b1606e0 (diff) | |
| download | crud-d3adc16a08d95d6e331de55d7d3bf05a66a874a8.tar.gz | |
stop tracking node_modules/
Diffstat (limited to 'node_modules/tar/dist/esm/normalize-windows-path.js')
| -rw-r--r-- | node_modules/tar/dist/esm/normalize-windows-path.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/node_modules/tar/dist/esm/normalize-windows-path.js b/node_modules/tar/dist/esm/normalize-windows-path.js deleted file mode 100644 index cc75178..0000000 --- a/node_modules/tar/dist/esm/normalize-windows-path.js +++ /dev/null @@ -1,9 +0,0 @@ -// on windows, either \ or / are valid directory separators. -// on unix, \ is a valid character in filenames. -// so, on windows, and only on windows, we replace all \ chars with /, -// so that we can use / as our one and only directory separator char. -const platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform; -export const normalizeWindowsPath = platform !== 'win32' ? - (p) => String(p) - : (p) => String(p).replaceAll(/\\/g, '/'); -//# sourceMappingURL=normalize-windows-path.js.map
\ No newline at end of file |