mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 21:17:25 +00:00
Flatbuffers Version 2.0.7 (#7462)
This commit is contained in:
@@ -94,7 +94,7 @@ def flatc_reflection(options, location, target):
|
||||
new_reflection_path = Path(reflection_path, temp_dir, target)
|
||||
original_reflection_path = Path(root_path, location, target)
|
||||
if not filecmp.cmp(str(new_reflection_path), str(original_reflection_path)):
|
||||
shutil.rmtree(str(original_reflection_path))
|
||||
shutil.rmtree(str(original_reflection_path), ignore_errors=True)
|
||||
shutil.move(str(new_reflection_path), str(original_reflection_path))
|
||||
shutil.rmtree(str(Path(reflection_path, temp_dir)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user