We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 74a6ee3 + 85fa678 commit 72887e0Copy full SHA for 72887e0
hyperglass/frontend/__init__.py
@@ -131,7 +131,8 @@ async def build_ui(app_path: Path):
131
log.error(err)
132
raise RuntimeError(str(err)) from err
133
134
- shutil.copytree(src=out_dir, dst=build_dir, dirs_exist_ok=True)
+ shutil.rmtree(build_dir)
135
+ shutil.copytree(src=out_dir, dst=build_dir, dirs_exist_ok=False)
136
log.bind(src=out_dir, dst=build_dir).debug("Migrated Next.JS build output")
137
138
return "\n".join(all_messages)
0 commit comments