fix(cli): resolve warning caused by \w in regular string (#6236)

This commit is contained in:
Kiran
2023-11-16 14:53:25 +05:30
committed by GitHub
parent 60264d65db
commit 22fb0f7bbf

2
cli.py
View File

@@ -219,7 +219,7 @@ def create(agent_name):
import re
import shutil
if not re.match("\w*$", agent_name):
if not re.match(r"\w*$", agent_name):
click.echo(
click.style(
f"😞 Agent name '{agent_name}' is not valid. It should not contain spaces or special characters other than -_",