diff --git a/.buildkite/hooks/post-command b/.buildkite/hooks/post-command index e458ca2cc..988e76497 100644 --- a/.buildkite/hooks/post-command +++ b/.buildkite/hooks/post-command @@ -34,7 +34,7 @@ else SUCCESS=false fi - if [[ -n $BUILDKITE && -f "results.json" ]]; then + if [[ -n $BUILDKITE ]]; then if need_to_upload_test_result; then if [[ -f "results.json" ]]; then # extract lines which start with '{'