Flatbuffers Version 2.0.7 (#7462)

This commit is contained in:
Derek Bailey
2022-08-22 21:42:15 -07:00
committed by GitHub
parent d6f06c33f7
commit 8367664f15
45 changed files with 66 additions and 44 deletions

View File

@@ -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)))