message: Fix typography-sizes codemod warnings
diff: @@ -93,7 +93,8 @@ function warnFactory(
  components.forEach((component) => {
  const jsxElement = root.findJSXElements(component);
  ['Literal', 'StringLiteral'].forEach((type) => {
  - const element = jsxElement.find(j.JSXAttribute, {
  + jsxElement
  + .find(j.JSXAttribute, {
  name: {
  type: 'JSXIdentifier',
  name: 'size',
  @@ -102,8 +103,10 @@ function warnFactory(
  type,
  value: propName,
  },
  - });
  - if (element) {
  + })
  + .forEach((nodePath) => {
  + const hasValue = Boolean(nodePath.value.value);
  + if (hasValue) {
  console.error(
  [
  `Cannot migrate the ${componentName} "${propName}" size automatically,`,
  @@ -113,6 +116,7 @@ function warnFactory(
  }
  });
  });
  + });
  }
  const transform: Transform = (file, api) => {
  