From b4fbb1fcd0f6850d57dfb6f0a136bc255ac1e900 Mon Sep 17 00:00:00 2001 From: Trevor Bekolay Date: Tue, 21 Oct 2014 12:05:15 -0400 Subject: [PATCH] Ensure that checks are run from repo root --- tools/check | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/check b/tools/check index 954c43c..d0e8545 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 -- GitLab