danreeves / danreeves/path-clean

Doesn't work well with relative path across drivers on Windows

Open
#16 0 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
Dominant language
Rust
Stars
46
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Input:

```
D:\a\pnp-rs\pnp-rs\fixtures\global-cache\../../../../../../C:/Users/runneradmin/AppData/Local/Yarn/Berry/cache/source-map-npm-0.6.1-1a3621db16-10c0.zip/node_modules/source-map/
```

Expected:

```
C:\Users\runneradmin\AppData\Local\Yarn\Berry\cache\source-map-npm-0.6.1-1a3621db16-10c0.zip\node_modules\source-map\
```

Actually:

```
C:Users\runneradmin\AppData\Local\Yarn\Berry\cache\source-map-npm-0.6.1-1a3621db16-10c0.zip\node_modules\source-map\
```

The `\` is mssing after `C:`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.