We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3896ef2 + 9683e16 commit a71d313Copy full SHA for a71d313
lib/bashly/views/command/dependencies_filter.gtx
@@ -2,7 +2,7 @@ if dependencies
2
= view_marker
3
4
dependencies.each do |dependency, message|
5
- > if ! [[ -x "$(command -v {{ dependency }})" ]]; then
+ > if ! command -v {{ dependency }} >/dev/null 2>&1; then
6
> printf "{{ strings[:missing_dependency] % { dependency: dependency } }}\n" >&2
7
if message and !message.empty?
8
> # shellcheck disable=SC2059
0 commit comments