1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Improved the tool scripts.

- Avoid the empty lastmod file.
- Check if there is no post.
- Fixed the prompt message.
This commit is contained in:
Cotes Chung
2020-07-13 11:20:07 +08:00
parent c0ba181246
commit 0d47beba97
3 changed files with 15 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ check_status() {
local _change=$(git status . -s)
if [[ ! -z ${_change} ]]; then
echo "Warning: Commit the changes of the changes first:"
echo "Warning: Commit the following changes first:"
echo "$_change"
exit 1
fi