Skip to content

Commit

Permalink
Update check_all.sh (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
cubxxw authored Jan 22, 2024
1 parent 177d507 commit a46e5bb
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 -n "s/^${key}: \[\s*\([^]]*\).*$/\1/p" "$config_yaml" | xargs
sed -nE "/openImAdminApiPort: \[ */{s///; s/\].*//; p;}" "./config/config.yaml" | tr -d '[]' | xargs
;;
*)
echo "Unsupported operating system"
Expand Down

0 comments on commit a46e5bb

Please sign in to comment.