Skip to content

fcli tool * install: Failure when installing to non-empty dir if already registered #975

Description

@rsenden

Current Behavior

Image

In this screenshot, first installation to non-empty directory shows expected behavior, with fcli asking the user to confirm cleaning the target directory.

However, once a specific tool version has been registered with fcli (through the first install command in this example), new installation to a different non-empty directory fails with an exception, without giving the user the option to clean the target directory. Same failure is seen if user explicitly passes -y in the install command to auto-confirm any prompts.

Expected Behavior

The fcli tool * install commands should ask for confirmation to clean a non-empty target directory independent of whether that tool version was previously registered (in same or different location).

Steps To Reproduce

See screenshot above

Environment

Anything else?

Likely closely related to #976

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions