Develop/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-yellow.svg)`;
  } else if (license == "GNU") {
    return `![License: GNU](https://img.shields.io/badge/License-GPL%20v2-blue.svg)`;
  } else if (license == "ISC") {
    return `![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)`;
  } else if (license == "Apache") {
    return `![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)`;
  }
  return "";
}
function renderLicenseBadge ( license ) { if ( license == "MIT" ) { return ` ` ; } else if ( license == "GNU" ) { return ` ` ; } else if ( license == "ISC" ) { return ` ` ; } else if ( license == "Apache" ) { return ` ` ; } return "" ; }
If there is no license, return an empty string
If there is no license return an empty string