Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

use clean return instead of error makeing #12

@amtoine

Description

@amtoine

that is a proposition, e.g. instead of having

Error:
  × User choose to exit...
    ╭─[scripts/prompt.nu:27:1]
 27 │     if ($choice | is-empty) {
 28 │         error make (context user_choose_to_exit)
    ·         ─────┬────
    ·              ╰── User choose to exit...
 29 │     }
    ╰────

when pressing <C-c> inside the selection of repo goto we could have a simpler

User choose to exit...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions