This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
Evaluated path inside PowerShell has a leading null #51
Open
Description
When running the program using PowerShell 7, version 26 of directories-jvm returns a path with leading null.
Output in PowerShell:
ProjectDirectories (Windows 10):
projectPath = 'foo\bar'
cacheDir = 'null\foo\bar\cache'
configDir = 'PowerShell 7.1.3\foo\bar\config'
dataDir = 'PowerShell 7.1.3\foo\bar\data'
dataLocalDir = 'null\foo\bar\data'
preferenceDir = 'PowerShell 7.1.3\foo\bar\config'
runtimeDir = 'null'
Expected output (which you get for example in the default system embedded PowerShell or using cmd):
ProjectDirectories (Windows 10):
projectPath = 'foo\bar'
cacheDir = 'C:\Users\jakob\AppData\Local\foo\bar\cache'
configDir = 'C:\Users\jakob\AppData\Roaming\foo\bar\config'
dataDir = 'C:\Users\jakob\AppData\Roaming\foo\bar\data'
dataLocalDir = 'C:\Users\jakob\AppData\Local\foo\bar\data'
preferenceDir = 'C:\Users\jakob\AppData\Roaming\foo\bar\config'
runtimeDir = 'null'