bugfix: uso rama actual cuando esta es un entorno

This commit is contained in:
Jonathan Teran Carballo
2025-12-14 22:38:25 -03:00
parent a2731e3400
commit c54cb95ed7
+4
View File
@@ -46,6 +46,10 @@ class BranchCommand(Command):
self.current_branch = Git.get_current_branch()
self.environments = self.flowconfig["flow.branches"].split(",")
if self.current_branch in self.environments:
current_environment = self.current_branch
else:
(current_environment, _) = self.get_branch_env_and_type(self.current_branch)
if args.trash: