Fix --delete-files command without using --force (#739)

Co-authored-by: John Detter <no-reply@boppygames.gg>
This commit is contained in:
John Detter
2024-01-21 18:16:02 -06:00
committed by GitHub
parent e152784c3b
commit b905b68ead
@@ -164,6 +164,7 @@ Failed to compile module {:?}. See cargo errors above for more details.",
if !force {
print!("Are you sure you want to delete these files? [y/N] ");
input = "".to_string();
std::io::stdout().flush()?;
std::io::stdin().read_line(&mut input)?;
} else {