<commit_before>const directDownload = document.getElementById('downloadParagraph');
const lastReleaseUrl = 'https://api.github.com/repos/nvaccess/nvda/releases/latest';

const lastRelease = async () => {
  const response =await fetch(lastReleaseUrl);
  const json = await response.json();
  const releaseName = await json.name;
  const version = await releaseName.substr(8);
  const directLink = await document.createElement('a');
  await directLink.setAttribute('ref', `https://www.nvaccess.org/download/nvda/releases/${version}/nvda_${version}.exe`);
  await directLink.setAttribute('accesskey', '0');
  directLink.innerText = `Descargar NVDA ${version}`;
  await directDownload.appendChild(directLink);
}


lastRelease();<commit_msg>Fix href<commit_after>const directDownload = document.getElementById('downloadParagraph');
const lastReleaseUrl = 'https://api.github.com/repos/nvaccess/nvda/releases/latest';

const lastRelease = async () => {
  const response =await fetch(lastReleaseUrl);
  const json = await response.json();
  const releaseName = await json.name;
  const version = await releaseName.substr(8);
  const directLink = await document.createElement('a');
  await directLink.setAttribute('href', `https://www.nvaccess.org/download/nvda/releases/${version}/nvda_${version}.exe`);
  await directLink.setAttribute('accesskey', '0');
  directLink.innerText = `Descargar NVDA ${version}`;
  await directDownload.appendChild(directLink);
}


lastRelease();
{'fraction_non_alphanumeric': 0.14305177111716622, 'fraction_numerical': 0.0027247956403269754, 'mean_word_length': 6.131067961165049, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4784965', 'n_tokens_mistral': 422, 'n_tokens_neox': 425, 'n_words': 84}