File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -293,20 +293,23 @@ def safe_framework_cleanup():
293
293
logging .info (f"Framework path validated successfully: { FRAMEWORK_DIR } " )
294
294
295
295
if safe_delete_directory (FRAMEWORK_DIR ):
296
- #print("Framework successfully removed")
296
+ print ("Framework successfully removed" )
297
+ else :
298
+ print ("Error removing framework" )
299
+ return False
297
300
else :
298
301
logging .error (f"PlatformIO path validation failed: { FRAMEWORK_DIR } " )
299
302
return False
300
303
301
- logging .info (f"Attempting to validate framework path: { FRAMEWORK_LIB_DIR } " )
304
+ logging .info (f"Attempting to validate framework lib path: { FRAMEWORK_LIB_DIR } " )
302
305
303
306
# Use specialized PlatformIO path validation
304
307
if validate_platformio_path (FRAMEWORK_LIB_DIR ):
305
308
#print("*** Secure framework cleanup ***")
306
309
logging .info (f"Framework lib path validated successfully: { FRAMEWORK_LIB_DIR } " )
307
310
308
311
if safe_delete_directory (FRAMEWORK_LIB_DIR ):
309
- # print("Framework successfully removed")
312
+ print ("Framework libs successfully removed" )
310
313
return True
311
314
else :
312
315
print ("Error removing framework" )
You can’t perform that action at this time.
0 commit comments