forked from platformio/platformio-core
Ignore errors when deleting CI tmp folder
This commit is contained in:
1 parent
dd4fa733e1
commit
fd39a88b26
1 file changed
+1
-4
@@ -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