This repository was archived by the owner on Feb 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: