Skip to content

Explicitly require SimpleDelegator for internal events cli

Sarah Yasonik requested to merge syasonik-master-patch-19527 into master

What does this MR do and why?

After updating my gdk, I just ran the internal events cli locally and hit an error:

% scripts/internal_events/cli.rb 
scripts/internal_events/cli.rb:128:in `<main>': uninitialized constant SimpleDelegator (NameError)

class GitlabPrompt < SimpleDelegator
                     ^^^^^^^^^^^^^^^

This MR fixes that error by require-ing the package needed for the Internal Events CLI to run.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

  1. run scripts/internal_events/cli.rb from the gitlab directory

Merge request reports