aboutcode-org / aboutcode-org/nuget-inspector
Wrong resolution of home directory
Open
- Dominant language
- C#
- Stars
- 5
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Using `~` to reference the home directory leads to a wrongly resolved file path when calling `nuget-inspector`.
I call `ni` using this command:
```sh
nuget-inspector --project-file=~/dev/MyProject/MySolution.sln
```
which leads to this error:
```sh
ERROR: scan failed: System.IO.DirectoryNotFoundException: Could not find a part of the path
'/home/myuser/~/dev/MyProject/MySolution.sln
```
Obviously the current directory is simply prepended to the given path but `~` is ignored although resolving it would give an absolute path already.
Best regards.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.