Improve handling for deleted or malformed files

This commit is contained in:
Joey Hafner 2023-08-21 16:33:29 -07:00
parent a31d9d533b
commit 6361846e64

View File

@ -64,6 +64,10 @@ case $SOURCE in
git fetch
git pull
VERSION=$(jq -r .version package.json) # Get version from package.json
if [[ `git status --porcelain` ]]; then
git restore .
fi
echo " === Starting version $VERSION"
httpd-foreground
;;