serokell / coffer

Multi-backend password store with multiple frontends
4 stars 2 forks source link

[#66] Rename command optimization #70

Closed DK318 closed 2 years ago

DK318 commented 2 years ago

Description

Problem

At this moment rename command reuses delete command, so we do some unnecessary actions like getEntryOrDirThrow.

Solution

Replaced deleteCmd call with deleteSecret.

Related issue(s)

Fixed #

:white_check_mark: Checklist for your Pull Request

Related changes (conditional)

Stylistic guide (mandatory)