Files
botpress--botpress/.github/scripts/integration-implements-sandbox.sh
2026-07-13 13:34:48 +08:00

17 lines
319 B
Bash
Executable File

#!/bin/bash
if [ -z "$1" ]; then
echo "Error: integration name is not provided" >&2
exit 1
fi
integration=$1
integration_path="integrations/$integration"
has_sandbox=false
sandbox_script="$integration_path/sandboxIdentifierExtract.vrl"
if [ -f "$sandbox_script" ]; then
has_sandbox=true
fi
echo "$has_sandbox"