mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: do not fail pack creation if dir does not exist
This commit is contained in:
@@ -11,6 +11,6 @@ except KeyError:
|
||||
sys.exit(1)
|
||||
|
||||
dest_dir = workspace_dir / 'swift' / 'extractor-pack'
|
||||
shutil.rmtree(dest_dir)
|
||||
shutil.rmtree(dest_dir, ignore_errors=True)
|
||||
os.environ['DESTDIR'] = str(dest_dir)
|
||||
main(sys.argv)
|
||||
|
||||
Reference in New Issue
Block a user