mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-17 15:19:15 +03:00
dash not underscore (#12716)
template names are auto-populating with the wrong convention (with underscores)
This commit is contained in:
1 parent
8bd3ce59cd
commit
3405dbbc64
1 file changed
+1
-1
@@ -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