message: chore: remove redundant if statement
diff: @@ -100,10 +100,8 @@ export function createCatalogRegisterAction(options: {
  if (result.entities.length >= 1) {
  const { kind, name, namespace } = getEntityName(result.entities[0]);
  ctx.output('entityRef', `${kind}:${namespace}/${name}`);
  - if (catalogInfoUrl) {
  ctx.output('catalogInfoUrl', catalogInfoUrl);
  }
  - }
  },
  });
  }
  