fix(commands/mr/close): fix color used for a MR that was just closed
Created by: maxice8
Description
this changes the 'State' of the MR after closing it successfully, so that the later call to mrutils.DisplayMR which calls mrutils.MRState returns the red color
Before it prints green because mr
is still open as far as glab
is concerned, we change it to closed
so that it will print in red.
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms)