mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-11 10:29:21 -04:00
Fix --delete-files command without using --force (#739)
Co-authored-by: John Detter <no-reply@boppygames.gg>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user