chore: noise in tests

This commit is contained in:
2026-05-04 06:18:06 +02:00
parent 4de8492c4f
commit 43a4610ce7
48 changed files with 619 additions and 239 deletions

View File

@@ -98,6 +98,7 @@ defmodule BDS.Scripts do
content_changed? =
has_attr?(attrs, :content) and attr(attrs, :content) != effective_script_content(script)
now = Persistence.now_ms()
updates =
@@ -309,7 +310,9 @@ defmodule BDS.Scripts do
defp hydrate_script_content(%Script{} = script) do
case script do
%Script{content: content} when is_binary(content) -> script
%Script{content: content} when is_binary(content) ->
script
%Script{status: :published, file_path: file_path} when file_path not in [nil, ""] ->
%{script | content: published_script_body(script)}