Fix jekyll publish command.

This commit is contained in:
David Tomaschik
2017-10-24 21:53:59 -05:00
parent 7f7e2e21bf
commit 6b23295be9

View File

@@ -110,7 +110,7 @@ function jekyll {
echo "slug is required." echo "slug is required."
return 1 return 1
fi fi
FILENAME=$(_jekyll_find_post "${TITLE}" "${SLUG}") FILENAME=$(_jekyll_find_post "${TITLE}" "${SLUG}" "${JEKYLL_DIR}")
if [ $? -ne 0 ] ; then if [ $? -ne 0 ] ; then
return return
fi fi