diff --git a/tools/check b/tools/check index 954c43ca39fad98c3d76259f192724716427438c..d0e8545e896f07d55c08886f86333e133f727cdd 100755 --- a/tools/check +++ b/tools/check @@ -1,5 +1,8 @@ #!/usr/bin/env bash # check: Ensure that proper formatting has been used. +# Ensure we run from the lesson directory +cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. + # Show all of the FIXMEs in the lessons content grep -i -n FIXME ??-*.md