tonybaloney / pycharm-security

Finds security holes in your Python projects from PyCharm and GitHub
https://pycharm-security.readthedocs.io/en/latest/?badge=latest
MIT License
332 stars 21 forks source link

Plugin fails with "Working directory does not exist" after Pycharm project directory refactor #388

Open bretlowery opened 1 year ago

bretlowery commented 1 year ago

Describe the bug If a Pycharm project directory is renamed via the IDE Refactor option, the plugin fails at subsequent IDE startup with a "working directory does not exist" error.

To Reproduce

  1. In PyCharm, right click on the Project name
  2. Click Refactor
  3. Select Rename Directory, and rename it
  4. Close and restart PyCharm
  5. Plugin fails at startup

Expected behavior No error; seamless rename of directory

Screenshots If applicable, add screenshots to help explain your problem.

Additional context