diff --git a/hyperglass/frontend/__init__.py b/hyperglass/frontend/__init__.py index 2a34a522..d38cd6b2 100644 --- a/hyperglass/frontend/__init__.py +++ b/hyperglass/frontend/__init__.py @@ -133,8 +133,6 @@ async def build_ui(app_path: Path): if build_dir.exists(): shutil.rmtree(build_dir) - else: - build_dir.mkdir() 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")