sourcecred/scripts/ensure-flow.sh

5 lines
122 B
Bash
Raw Normal View History

#!/bin/sh
set -eu
! git grep -F --files-without-match -e '@flow' -e '@no-flow' \
-- ':/*.js' ':!/flow-typed/' >&2