mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-08-31 18:56:42 +00:00
* feat(aws-lambda): support plan protocol v2 * fix(aws-lambda): align SAM v2 terminal errors
12 lines
289 B
Bash
Executable File
12 lines
289 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Small configuration helpers shared by smoke.sh and shell tests.
|
|
|
|
hf_resolve_psnr_threshold() {
|
|
local explicit="$1" fixture_meta="$2"
|
|
if [ -n "$explicit" ]; then
|
|
printf '%s\n' "$explicit"
|
|
return
|
|
fi
|
|
jq -er '(.minPsnr // 40) | numbers' "$fixture_meta"
|
|
}
|