Bug fix for dygraph point selection touch event.
[dygraphs.git] / scripts / check-no-only.sh
1 #!/bin/bash
2 # Checks that no ".only" has made it into tests. This should never be committed,
3 # since it will disable the vast majority of tests.
4
5 if grep -R '\.only(' auto_tests/tests; then
6 echo 'Remove .only from tests before committing.'
7 exit 1
8 fi
9
10 exit 0