mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Just ignore all OSError for rm_rf
This commit is contained in:
@@ -133,9 +133,8 @@ def make_zip(zip_file_path, files, dirs):
|
||||
def rm_rf(path):
|
||||
try:
|
||||
shutil.rmtree(path)
|
||||
except OSError as e:
|
||||
if e.errno != errno.ENOENT and e.errno != errno.EIO:
|
||||
raise
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
|
||||
def safe_unlink(path):
|
||||
|
||||
Reference in New Issue
Block a user