--dry-run
option of pdm add
still creates pdm.lock
and empty __pypackages__
#918
Labels
🐛 bug
Something isn't working
The
pdm add
command advertises a--dry-run
option sayinghowever, passing it seems to still create a
pdm.lock
file and an empty__pypackages__
directory.Steps to reproduce
Actual behavior
As you can see,
pdm add -vv --dry-run "urllib3==1.25.7"
adds apdm.lock
and__pypackages__
, which I didn't expect.Expected behavior
--dry-run
only shows output on the terminal, but doesn't do anything else (no new files, no new directories).Environment Information
The text was updated successfully, but these errors were encountered: