You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
polywit kotlin: error: argument benchmark: readable_dir:~/polywit/benchmarking/benchmarks/polywit-benchmarks/kotlin/jbmc-regression/exceptions2 is not a valid path
Issue Description
The path alias ~ is not accepted as giving a valid directory by os.path. Instead for most use cases ~ should be translated to $HOME which it is most commonly the alias for.
Expected Behavior
The following command should proceed to validation and not error:
Polywit issue checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of polywit.
I have confirmed this bug exists on the main branch of polywit.
I have added the relevant language tag if this bug is validator specific.
Reproducible Example
Results in:
polywit kotlin: error: argument benchmark: readable_dir:~/polywit/benchmarking/benchmarks/polywit-benchmarks/kotlin/jbmc-regression/exceptions2 is not a valid path
Issue Description
The path alias
~
is not accepted as giving a valid directory byos.path
. Instead for most use cases~
should be translated to$HOME
which it is most commonly the alias for.Expected Behavior
The following command should proceed to validation and not error:
Installed Versions
1.0.0
The text was updated successfully, but these errors were encountered: