dash not underscore (#12716)

template names are auto-populating with the wrong convention (with
underscores)
This commit is contained in:
Erick Friis
2023-11-01 09:48:37 -07:00
committed by GitHub
parent 8bd3ce59cd
commit 3405dbbc64

View File

@@ -58,7 +58,7 @@ def new(
pyproject = destination_dir / "pyproject.toml"
pyproject_contents = pyproject.read_text()
pyproject.write_text(
pyproject_contents.replace("__package_name__", module_name).replace(
pyproject_contents.replace("__package_name__", package_name).replace(
"__module_name__", module_name
)
)