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 db67c05 + bdd0e92 commit becf913Copy full SHA for becf913
src/core/common.sh
@@ -17,11 +17,12 @@ check_required_tools() {
17
local config_file="$1"
18
local missing_tools=()
19
20
- while IFS= read -r tool; do
+ # Get required tools and check each one
21
+ for tool in $(yq eval '.tools.required[]' "$config_file"); do
22
if ! command_exists "$tool"; then
23
missing_tools+=("$tool")
24
fi
- done < <(yq eval '.tools.required[]' "$config_file")
25
+ done
26
27
if [ ${#missing_tools[@]} -ne 0 ]; then
28
echo -e "${RED}Missing required tools:${NC}"
0 commit comments