This is an automated email from the ASF dual-hosted git repository.

jscheffl pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new 8192ba031c1 [v3-1-test] Improve insert content when generate docker 
file (#60393) (#60397)
8192ba031c1 is described below

commit 8192ba031c175a919e5ccc478bf8804025abd8b7
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Jan 11 21:31:19 2026 +0100

    [v3-1-test] Improve insert content when generate docker file (#60393) 
(#60397)
    
    (cherry picked from commit fd90666e91bb4915444c49cd3fc512864a5086eb)
    
    Co-authored-by: Tuan Hoang Minh 
<[email protected]>
---
 scripts/ci/prek/inline_scripts_in_docker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ci/prek/inline_scripts_in_docker.py 
b/scripts/ci/prek/inline_scripts_in_docker.py
index e163f43b0d3..0b277b6ddaa 100755
--- a/scripts/ci/prek/inline_scripts_in_docker.py
+++ b/scripts/ci/prek/inline_scripts_in_docker.py
@@ -35,7 +35,7 @@ def insert_content(file_path: Path, content: list[str], 
header: str, footer: str
             replacing = False
         if not replacing:
             result.append(line)
-        file_path.write_text("".join(result))
+    file_path.write_text("".join(result))
 
 
 if __name__ == "__main__":

Reply via email to