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

.yalc is not empty, not removing it #247

Open
dbersan opened this issue Nov 21, 2024 · 0 comments
Open

.yalc is not empty, not removing it #247

dbersan opened this issue Nov 21, 2024 · 0 comments

Comments

@dbersan
Copy link

dbersan commented Nov 21, 2024

This is such a stupid mistake by me, but I would also consider this a bug on yalc..

I did NOT install any packages using yalc. But I thought I did, because my packages.json and package-lock.json were modified. So I ran:

yalc remove --all

And the result:

my/current/path/.yalc is not empty, not removing it.

Which is such a weird message. ".yalc not empty, so we won't remove it" -- if it's NOT empty, THEN you should remove it!

It took me quite a while to figure out not yalc package was installed. The message should imo be like: no yalc packages installed, nothing to be done.

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

No branches or pull requests

1 participant