aboutcode-org / aboutcode-org/nuget-inspector
Wrong resolution of home directory
未關閉
- 主要語言
- C#
- 星號
- 5
- 分支
- 13
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。