From b0b03cbb5f9f7b4617ecbb6bc197ce400ba96fd4 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 22 Jan 2026 12:19:43 +1100 Subject: [PATCH] Delete old screenshots when updating app --- bin/setup | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/setup b/bin/setup index 1f75470d94..41f98b93d8 100755 --- a/bin/setup +++ b/bin/setup @@ -31,6 +31,7 @@ FileUtils.chdir APP_ROOT do puts "\n== Preparing database, removing old logs and tempfiles ==" system! "bin/rails db:prepare log:clear tmp:clear" + system! "rm -f tmp/capybara/screenshots/*.png" puts "\n== Restarting application server ==" # system! "bin/rails restart"