Lint : formatage, ShellCheck sur le nettoyage du second site

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-09 15:36:19 +01:00
co-authored by Claude Opus 5.5
parent 5fdca812d9
commit 8fd1ba3f4f
2 changed files with 26 additions and 13 deletions
+1
View File
@@ -46,6 +46,7 @@ updates=build/browser-site
rm -rf "$updates"
cp -r build/site "$updates"
update_container="$(docker run -d --rm -p 127.0.0.1::80 -v "$PWD/$updates:/srv:ro" "$site_image")"
# shellcheck disable=SC2317 # appelée par trap, à la sortie
update_cleanup() {
docker rm -f "$update_container" >/dev/null 2>&1 || true
site_cleanup