@devries-cameron20 / composio Mirror · read-only / commits / 184404a4a
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 17:15 UTC

test(cli): run the bashism sweep with grep so it cannot silently skip

jkomyno committed Aug 3, 2026 at 20:24 UTC 184404a4afaaaef7c61e6fadda287f2381151596
1 file changed +1 -1
test/install-sh-release-resolution.test.sh
+1 -1
@@ -39,7 +39,7 @@ wait_for_file() {
39 for script in "$repo_root/install.sh" "$repo_root"/install/*.sh; do
40 [[ $(tail -n 1 "$script") == 'main "$@"' ]] || fail "$script must end with main \"\$@\""
41 [[ $(grep -c '^main "\$@"$' "$script") -eq 1 ]] || fail "$script must contain one main entry point"
42 - if rg -n '(^|[[:space:]])\[\[[[:space:]]|set -[^[:space:]]*o[[:space:]]+pipefail|<\(|<<<|echo -e|(^|[[:space:]])local[[:space:]]' "$script"; then
42 + if grep -En '(^|[[:space:]])\[\[[[:space:]]|set -[^[:space:]]*o[[:space:]]+pipefail|<\(|<<<|echo -e|(^|[[:space:]])local[[:space:]]' "$script"; then
43 fail "$script contains a non-POSIX shell construct"
44 fi
45 done