Skip to content

Commit

Permalink
repo-cd: use plain name for error display
Browse files Browse the repository at this point in the history
Given doesn't look so nice with the [_-] addition:
 ! no non-excluded match found for '*some[_-]name*'
  • Loading branch information
ionenwks committed Aug 1, 2022
1 parent d3fb984 commit 408fba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/repo-cd
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ rcd-cd() {
done | mapfile -td '' choice

if (( ! ${#choice[@]} )); then
rcd-msg '!:r' "no non-excluded match found for '${C[m]}${search}${C[n]}'${userepo:+ in ::${userepo}}"
rcd-msg '!:r' "no non-excluded match found for '${C[m]}${name}${C[n]}'${userepo:+ in ::${userepo}}"
exit 104
fi

Expand Down

0 comments on commit 408fba9

Please sign in to comment.