Skip to content

Say no restore points are available rather giving than obscure error #441

@HaleTom

Description

@HaleTom

If I execute -B --restore when there are no saved states, I would expect a message like:

aura: Error: no saved states exist to be restored. (Use bare -B to save current state)

Instead:

aura >>= `0` package states will be kept. Remove the rest? [Y/n] y
@ravi@svelte:~$ sudo aura -B --restore
aura: /var/cache/aura/states: openFile: inappropriate type (is a directory)
@ravi@svelte:~[1]$ :

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions