Skip to content

Commit

Permalink
# improve md content
Browse files Browse the repository at this point in the history
  • Loading branch information
czy21 committed May 20, 2024
1 parent 4c15f06 commit 1fc4d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/docker/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def build(self) -> list[str]:
"param_docker_compose_command": docker_compose_command if self.role_deploy_file.exists() else None,
})
role_readme = self.role_output_path.joinpath("README.md")
file_util.write_text(self.role_output_path.joinpath("doc.md"), md_content + "\n" + file_util.read_text(role_readme) if role_readme.exists() else "")
file_util.write_text(self.role_output_path.joinpath("doc.md"), md_content + "\n" + (file_util.read_text(role_readme) if role_readme.exists() else ""))
self.sync_to_git_repo("docker")
return _cmds

Expand Down

0 comments on commit 1fc4d93

Please sign in to comment.