forked from mirrors/thatmattlove-hyperglass
fix leftover issue from #247 if build_dir does not exist
This commit is contained in:
parent
35d9c26eff
commit
7eb4f5ca93
1 changed files with 0 additions and 2 deletions
|
|
@ -133,8 +133,6 @@ async def build_ui(app_path: Path):
|
||||||
|
|
||||||
if build_dir.exists():
|
if build_dir.exists():
|
||||||
shutil.rmtree(build_dir)
|
shutil.rmtree(build_dir)
|
||||||
else:
|
|
||||||
build_dir.mkdir()
|
|
||||||
shutil.copytree(src=out_dir, dst=build_dir, dirs_exist_ok=False)
|
shutil.copytree(src=out_dir, dst=build_dir, dirs_exist_ok=False)
|
||||||
log.bind(src=out_dir, dst=build_dir).debug("Migrated Next.JS build output")
|
log.bind(src=out_dir, dst=build_dir).debug("Migrated Next.JS build output")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue