platform environment:resume returns an error if the project is not paused.
It doesn't seem like this should be an error. How about a success return value?
$ platform environment:resume --project="${PLATFORM_PROJECT}" --environment="${PLATFORM_ENVIRONMENT}" --yes
The environment platform-pull (type: staging) is not paused. Only paused environments can be resumed.
l$ echo $?
1