react/scripts/circleci/test_print_warnings.sh

8 lines
118 B
Bash
Executable File

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