mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-04 13:45:13 +00:00
ignore ATTEMPTS when command is open, as it only makes sense for run
This commit is contained in:
parent
abc2e5aac8
commit
942ffff41c
@ -17,7 +17,12 @@ else
|
||||
shift
|
||||
fi
|
||||
|
||||
if [[ -z "${ATTEMPTS:-}" ]]; then
|
||||
if [[ -n "${ATTEMPTS:-}" ]]; then
|
||||
if [[ "$command" == "open" ]]; then
|
||||
echo "ATTEMPTS is ignored when running cypress open"
|
||||
ATTEMPTS=1
|
||||
fi
|
||||
else
|
||||
ATTEMPTS=1
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user