utils/generateMarkdown.js
// If there is no license, return an empty string
If there is no license, return an empty string
If there is no license return an empty string
function renderLicenseBadge(license) {
  if (license) {
    return `![${license}](https://img.shields.io/badge/license-${encodeURIComponent(license)}-blue.svg)`;
  } else {
    return ``;
  };
}
function renderLicenseBadge ( license ) { if ( license ) { return ` ${ license } ${ encodeURIComponent ( license ) } ` ; } else { return ` ` ; } ; }
If there is no license, return an empty string
If there is no license return an empty string