Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running clean repository command trashes .idea #18308

Closed
okonet opened this issue May 24, 2022 · 2 comments
Closed

Running clean repository command trashes .idea #18308

okonet opened this issue May 24, 2022 · 2 comments

Comments

@okonet
Copy link
Contributor

okonet commented May 24, 2022

Describe the bug

When running "Clean repository" task via yarn bootstrap, it says that .idea will be preserved along with .vscode but in reality is removes .idea as well.

To Reproduce

  1. Run yarn bootstrap command
  2. Choose Clean repository in the list of tasks
  3. Press y when asked

The log will contain the following

trashed .yarn/install-state.gz
trashed examples/react-ts-webpack4/
trashed reset.log
trashed .idea/
@shilman
Copy link
Member

shilman commented May 24, 2022

@okonet --reset deletes any files that git doesn't know about, so the fix is probably just to update the docs

@okonet
Copy link
Contributor Author

okonet commented May 24, 2022

I think that the intent is correct since it makes WebStorm users suffer for now specific reason. I already have a fix in place so I'll PR soon.

kevcube pushed a commit to kevcube/storybook that referenced this issue Jun 10, 2022
It also makes sure only root level directories are excluded

Closes storybookjs#18308
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants