We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4558e0f commit a3de3d1Copy full SHA for a3de3d1
sphinx_polyversion/driver.py
@@ -342,7 +342,7 @@ async def build_local(self) -> None:
342
source = self.root / filename
343
target = path / filename
344
target.parent.mkdir(parents=True, exist_ok=True)
345
- if not target.exists():
+ if source.exists() and not target.exists():
346
shutil.copy2(source, target, follow_symlinks=False)
347
348
# as .git is not copied, we have to initialize a dummy git repository
0 commit comments