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 renderLicenseLink(license) {
  switch(license) {
    case 'MIT':
      return `https://opensource.org/licenses/MIT`;
    case 'APACHE 2.0':
      return 'https://opensource.org/licenses/Apache-2.0';
    case 'GPL 3.0':
      return `https://www.gnu.org/licenses/gpl-3.0`;
    case 'BSD 3':
      return `https://img.shields.io/badge/license-BSD_3--Clause-blueviolet.svg`;
  };
}
function renderLicenseLink ( license ) { switch ( license ) { case 'MIT' : return ` ` ; case 'APACHE 2.0' : return 'https://opensource.org/licenses/Apache-2.0' ; case 'GPL 3.0' : return ` ` ; case 'BSD 3' : return ` ` ; } ; }
If there is no license, return an empty string
If there is no license return an empty string