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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user