mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix WindowsError for CI
This commit is contained in:
@ -90,7 +90,10 @@ 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:
|
||||||
rmtree(build_dir)
|
try:
|
||||||
|
rmtree(build_dir)
|
||||||
|
except WindowsError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def _clean_dir(dirpath):
|
def _clean_dir(dirpath):
|
||||||
|
Reference in New Issue
Block a user