message: FIx unneeded defensive code
diff: @@ -272,14 +272,9 @@ export class ConfigReader implements Config {
  if (value === undefined) {
  return this.fallback?.readConfigValue(key, validate);
  }
  - if (value !== undefined) {
  const result = validate(value);
  if (result !== true) {
  - const {
  - key: keyName = key,
  - value: theValue = value,
  - expected,
  - } = result;
  + const { key: keyName = key, value: theValue = value, expected } = result;
  throw new TypeError(
  errors.type(
  this.fullKey(keyName),
  @@ -289,7 +284,6 @@ export class ConfigReader implements Config {
  ),
  );
  }
  - }
  return value as T;
  }
  