Skip to content

opam remove --force launches remove commands in current directory #6570

Description

@rjbou

If you force removal of an uninstalled package, opam launches commands in current directory

### opam remove bar --force
FILE(config)                    Read ${BASEDIR}/OPAM/config in 0.000s
[NOTE] Forcing removal of (uninstalled) bar.1
[bar: pwd]
+ ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh "remove" "pwd"
- ${BASEDIR}
 -> removed   bar.1

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions