feature: eliminar prompt de ticket en creacion de rama
This commit is contained in:
@@ -44,9 +44,6 @@ class NewCommand(Command):
|
|||||||
persistent=True,
|
persistent=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
ticket = self.prompt("[Opcional] Ingrese el ID del ticket (por ejemplo ABC-123 o #123)")
|
|
||||||
ticket = ticket[1:] if ticket.startswith("#") else ticket
|
|
||||||
keywords = ticket + ' ' + keywords
|
|
||||||
keywords = filter(lambda k: len(k) > 0, keywords.split(" "))
|
keywords = filter(lambda k: len(k) > 0, keywords.split(" "))
|
||||||
branch = branch_type + "/" + "-".join(keywords)
|
branch = branch_type + "/" + "-".join(keywords)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user