Skip to content

Commit 4d85e1b

Browse files
committed
LPD-76414 remove allows both inputs
1 parent 813ae80 commit 4d85e1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/cli/lec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ cmd_remove() {
920920
worktrees+=("${PROJECT_DIRECTORY}")
921921
fi
922922

923-
if [[ "${#worktrees[@]}" -eq 0 && "${locator}" ]]; then
923+
if [[ "${locator}" ]]; then
924924
local projectDir
925925
projectDir="$(_getProjectDir "${locator}")"
926926

0 commit comments

Comments
 (0)