reduce logging
This commit is contained in:
@@ -26,12 +26,12 @@ echo "Checking front matter"
|
|||||||
if ! grep -q "^---$" "$file_path"; then
|
if ! grep -q "^---$" "$file_path"; then
|
||||||
echo "Front matter (start) not found, adding it"
|
echo "Front matter (start) not found, adding it"
|
||||||
# Dont trace content, as its usually too large
|
# Dont trace content, as its usually too large
|
||||||
[ "$DEBUG" ] && set +x
|
[ "$DEBUG" == "true" ] && set +x
|
||||||
content=$(cat "$file_path")
|
content=$(cat "$file_path")
|
||||||
echo -e "---\n" >"$file_path"
|
echo -e "---\n" >"$file_path"
|
||||||
echo -e "---\n" >>"$file_path"
|
echo -e "---\n" >>"$file_path"
|
||||||
echo "$content" >>"$file_path"
|
echo "$content" >>"$file_path"
|
||||||
[ "$DEBUG" ] && set -x
|
[ "$DEBUG" == "true" ] && set -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get the title from the front matter
|
# Get the title from the front matter
|
||||||
|
|||||||
@@ -39,4 +39,4 @@ sources:
|
|||||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/flashpaper
|
- https://github.com/truecharts/charts/tree/master/charts/incubator/flashpaper
|
||||||
- https://ghcr.io/andrewpaglusch/flashpaper
|
- https://ghcr.io/andrewpaglusch/flashpaper
|
||||||
type: application
|
type: application
|
||||||
version: 2.0.5
|
version: 2.0.6
|
||||||
|
|||||||
Reference in New Issue
Block a user