Skip to content

Commit 588bf42

Browse files
github-actions[bot]tuanhm2911
authored andcommitted
[v3-1-test] Improve insert content when generate docker file (#60393) (#60397)
(cherry picked from commit fd90666) Co-authored-by: Tuan Hoang Minh <9130269+tuanhm2911@users.noreply.github.com>
1 parent eba5ee1 commit 588bf42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/prek/inline_scripts_in_docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def insert_content(file_path: Path, content: list[str], header: str, footer: str
3535
replacing = False
3636
if not replacing:
3737
result.append(line)
38-
file_path.write_text("".join(result))
38+
file_path.write_text("".join(result))
3939

4040

4141
if __name__ == "__main__":

0 commit comments

Comments
 (0)