mirror of
https://github.com/electron/electron.git
synced 2026-01-23 14:28:17 -05:00
Ignore Windows errors in clean.py
This commit is contained in:
@@ -11,11 +11,14 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||
|
||||
def main():
|
||||
os.chdir(SOURCE_ROOT)
|
||||
rm_rf('node_modules')
|
||||
rm_rf('dist')
|
||||
rm_rf('out')
|
||||
rm_rf('spec/node_modules')
|
||||
rm_rf('vendor/brightray/vendor/download/libchromiumcontent')
|
||||
try:
|
||||
rm_rf('node_modules')
|
||||
rm_rf('dist')
|
||||
rm_rf('out')
|
||||
rm_rf('spec/node_modules')
|
||||
rm_rf('vendor/brightray/vendor/download/libchromiumcontent')
|
||||
except WindowsError: # pylint: disable=E0602
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user