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