Commit 4ff6d729 by Jason Karns

safer teardown

parent 8c41f0d7
......@@ -10,7 +10,7 @@ if [ "$FIXTURE_ROOT" != "$BATS_TEST_DIRNAME/fixtures" ]; then
fi
teardown() {
rm -fr "$TMP"/*
rm -fr "${TMP:?}"/*
}
stub() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment