We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
wasi.py build
clean
1 parent 0860b6b commit 45b186dCopy full SHA for 45b186d
Tools/wasm/wasi.py
@@ -68,7 +68,8 @@ def wrapper(context):
68
terminal_width = 80
69
print("⎯" * terminal_width)
70
print("📁", working_dir)
71
- if clean_ok and context.clean and working_dir.exists():
+ if (clean_ok and getattr(context, "clean", False) and
72
+ working_dir.exists()):
73
print(f"🚮 Deleting directory (--clean)...")
74
shutil.rmtree(working_dir)
75
0 commit comments