forked from platformio/platformio-core
Ignore errors when deleting CI tmp folder
This commit is contained in:
@ -90,10 +90,7 @@ def cli(ctx, src, lib, exclude, board, # pylint: disable=R0913
|
|||||||
ctx.invoke(cmd_run, project_dir=build_dir, verbose=verbose)
|
ctx.invoke(cmd_run, project_dir=build_dir, verbose=verbose)
|
||||||
finally:
|
finally:
|
||||||
if not keep_build_dir:
|
if not keep_build_dir:
|
||||||
try:
|
rmtree(build_dir, ignore_errors=True)
|
||||||
rmtree(build_dir)
|
|
||||||
except WindowsError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def _clean_dir(dirpath):
|
def _clean_dir(dirpath):
|
||||||
|
Reference in New Issue
Block a user