Skip to content

Commit 2c76cee

Browse files
authored
🐛 fix forward unused file
1 parent b8874f7 commit 2c76cee

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

nb_cli_plugin_docker/cli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ async def generate(cwd: Path, venv: bool, force: bool):
101101
compose_file = await generate_compose_file(is_reverse=is_reverse)
102102
await safe_write_file(cwd / "docker-compose.yml", compose_file, force=force)
103103

104+
if not is_reverse:
105+
return
106+
104107
for file in (Path(__file__).parent / "docker").iterdir():
105108
await safe_write_file(cwd / "docker" / file.name, file.read_text(), force=force)
106109

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extra_standard_library = ["typing_extensions"]
4848
[tool.pyright]
4949
pythonVersion = "3.8"
5050
pythonPlatform = "All"
51-
ignore = ["nb_cli_plugin_docker/config/"]
51+
ignore = ["nb_cli_plugin_docker/docker/"]
5252

5353
[build-system]
5454
requires = ["poetry_core>=1.0.0"]

0 commit comments

Comments
 (0)