Skip to content

Commit

Permalink
fix existing directory error; closes #244, #246
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlove committed May 27, 2024
1 parent e84cc4a commit 58b51b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyperglass/frontend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async def build_ui(app_path: Path):
log.error(err)
raise RuntimeError(str(err)) from err

shutil.copytree(out_dir, build_dir)
shutil.copytree(src=out_dir, dst=build_dir, dirs_exist_ok=True)
log.bind(src=out_dir, dst=build_dir).debug("Migrated Next.JS build output")

return "\n".join(all_messages)
Expand Down

0 comments on commit 58b51b7

Please sign in to comment.