Skip to content
Snippets Groups Projects
Commit 134d1c51 authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Do not ask to clean component

parent a5137e6b
No related branches found
No related tags found
No related merge requests found
......@@ -19,9 +19,6 @@ def handle_clean(args, config: Configuration):
logger.error(f"Component {args.component} not found! Did you mean {suggested_component_name}?")
exit(1)
if input(f"Do you want to clean {build.qualified_name}? [y/N] ").lower() != "y":
return
build_dir = build.install.environment["BUILD_DIR"]
shutil.rmtree(build_dir, ignore_errors=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment