Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong resolution of home directory #52

Open
georg-eckert-zeiss opened this issue Jul 22, 2024 · 0 comments
Open

Wrong resolution of home directory #52

georg-eckert-zeiss opened this issue Jul 22, 2024 · 0 comments

Comments

@georg-eckert-zeiss
Copy link

georg-eckert-zeiss commented Jul 22, 2024

Using ~ to reference the home directory leads to a wrongly resolved file path when calling nuget-inspector.

I call ni using this command:

nuget-inspector --project-file=~/dev/MyProject/MySolution.sln

which leads to this error:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant