Skip to content

Commit be59a15

Browse files
committed
Set test init.templatedir to empty dir
Because: * Travis complains with the following error: > Missing value for 'init.templatedir'
1 parent 20b1649 commit be59a15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_helper.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ setup() {
1616

1717
# Set up a git repo
1818
cd $TMP_DIRECTORY
19-
git -c "init.templatedir=" init
19+
mkdir templates
20+
git -c "init.templatedir=$TMP_DIRECTORY/templates" init
2021
git config user.email "test@git-good-commit"
2122
git config user.name "Git Good Commit Tests"
2223
echo "Foo bar" > my_file

0 commit comments

Comments
 (0)