Skip to content

Commit 25cdf10

Browse files
committed
LPD-67607 Simplify empty string check
1 parent ea88236 commit 25cdf10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/cli/lec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ _cmd_list() {
540540
local closest_resource
541541
local resource="${1}"
542542

543-
if [[ ${resource} == "" ]]; then
543+
if [[ -z "${resource}"]]; then
544544
_print_step "Listing valid resources..."
545545

546546
_listPrefixedFunctions _list_

0 commit comments

Comments
 (0)