-
Notifications
You must be signed in to change notification settings - Fork 26
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
Evaluated path inside PowerShell has a leading null #51
Comments
Thanks for the report, @bluefireoly! Could you check whether the problem also exists on PowerShell 6? Also, the non-null paths returned in your output look weird too. What was the input you used for |
foo is the corp and bar is the app ProjectDirectories.from("com", "foo", "bar") |
I recently came across this issue. I'm using PS 7.4.0. So running sbt test produces this output:
It appears that the homeDir could not computed correctly (same as with or without admin privileges) |
This seems to be a complete mess, my hope is to abandon this approach completely in favor of shipping a binary and reading its output. I just haven't found the time yet to figure out the cross-compilation/distribution story yet. |
When running the program using PowerShell 7, version 26 of directories-jvm returns a path with leading null.
Output in PowerShell:
Expected output (which you get for example in the default system embedded PowerShell or using cmd):
The text was updated successfully, but these errors were encountered: