mirror of
https://github.com/facebook/react.git
synced 2026-02-24 04:33:04 +00:00
We'll use this in the GH sync script to track which warnings have changed since the last sync
11 lines
209 B
Bash
Executable File
11 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
./node_modules/.bin/gulp react:extract-errors
|
|
git checkout -- scripts/error-codes/codes.json
|
|
|
|
WARNINGS=$(node scripts/error-codes/print-warnings.js)
|
|
echo "$WARNINGS"
|
|
test ! -z "$WARNINGS"
|