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 === "MIT") {
    return `![License: MIT](https://img.shields.io/badge/License-MIT-success.svg)`;
  } else if (license === "Apache 2.0") {
    return `![License: Apache](https://img.shields.io/badge/License-Apache2.0-yellow.svg)`;
  } else if (license === "GPL 3.0") {
    return `![License: GPL](https://img.shields.io/badge/License-GPL3.0-critical.svg)`;
  } else {
    return '';
  }
}
function renderLicenseBadge ( license ) { if ( license === "MIT" ) { return ` ` ; } else if ( license === "Apache 2.0" ) { return ` ` ; } else if ( license === "GPL 3.0" ) { return ` ` ; } else { return '' ; } }
If there is no license, return an empty string
If there is no license return an empty string