Files
react/scripts/ci/test_print_warnings.sh
Lauren Tan e415b22494 [ci] Rename scripts/circleci to scripts/ci
ghstack-source-id: 5d9cb7d3dbd0f5c54856ad194517524f14cf1ccb
Pull Request resolved: https://github.com/facebook/react/pull/30507
2024-07-29 19:18:03 -04:00

8 lines
118 B
Bash
Executable File

#!/bin/bash
set -e
WARNINGS=$(node scripts/print-warnings/print-warnings.js)
echo "$WARNINGS"
test ! -z "$WARNINGS"