Skip to content

Commit c8b2a02

Browse files
committed
Revert accidental commit
1 parent af3fe5d commit c8b2a02

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/project_generator.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,10 +1556,8 @@ pub fn generate_project(project_info: &ProjectInfo) -> Result<()> {
15561556

15571557
#[cfg(feature = "fastapi")]
15581558
if project_info.use_continuous_deployment {
1559-
if project_info.is_fastapi_project {
1560-
if save_deploy_files(project_info).is_err() {
1561-
bail!("Error creating deploy files");
1562-
}
1559+
if project_info.is_fastapi_project && save_deploy_files(project_info).is_err() {
1560+
bail!("Error creating deploy files");
15631561
} else if save_pypi_publish_file(project_info).is_err() {
15641562
bail!("Error creating PyPI publish file");
15651563
}

0 commit comments

Comments
 (0)