sourcecred/scripts/ensure-flow.sh

5 lines
122 B
Bash
Executable File

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