Skip to content

Commit

Permalink
update check_all.sh fix mac check scripts (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
cubxxw committed Jan 23, 2024
1 parent 9a21cdc commit c3dea70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ extract_yaml_value() {
;;
"Darwin")
# Use sed for macOS
sed -nE "/openImAdminApiPort: \[ */{s///; s/\].*//; p;}" "./config/config.yaml" | tr -d '[]' | xargs
sed -nE "/${key}: \[ */{s///; s/\].*//; p;}" "$config_yaml" | tr -d '[]' | xargs
;;
*)
echo "Unsupported operating system"
Expand Down

0 comments on commit c3dea70

Please sign in to comment.