Skip to content

.yalc is not empty, not removing it #247

Open
@dbersan

Description

@dbersan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions