mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-01 19:12:42 +00:00
dash not underscore (#12716)
template names are auto-populating with the wrong convention (with underscores)
This commit is contained in:
@@ -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
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user