const findOutputChannel = (config: ConfigType, name: string): OutputChannel | SimpleConstant => {
  const result = config.outputChannels[name];

  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
  if (!result) {