Skip to content

fix(ci trace): exit normally when prompts are interrupted

Kerri Miller requested to merge github/fork/hoelzro/trunk into trunk

Created by: hoelzro

…specifically, interrupted via SIGINT (CTRL-C). Otherwise, the first job is chosen, which isn't a huge deal, but isn't really consistent with the user's wish to exit the program early

Description

I noticed that if I do glab ci trace and CTRL-C to exit, the first job gets chosen, rather than exiting.

Related Issue

(none to my knowledge)

How Has This Been Tested?

I've only done manual testing so far; I'd run the automatic test suite but I don't want to blow my configuration away 😬

Screenshots (if appropriate):

N/A

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)

Merge request reports