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) {
  if(license === 'MIT License'){
    return '[View License Information](https://opensource.org/licenses/MIT)'
  }
  else if(license === 'BSD 2-clause "Simplified" license') {
    return `[View License Information](https://opensource.org/licenses/BSD-2-Clause)`
  }
  else if(license === 'Apache license 2.0') {
    return `[View License Information](https://opensource.org/licenses/Apache-2.0)`
  }
}
function renderLicenseLink ( license ) { if ( license === 'MIT License' ) { return '[View License Information](https://opensource.org/licenses/MIT)' } else if ( license === 'BSD 2-clause "Simplified" license' ) { return ` ` } else if ( license === 'Apache license 2.0' ) { return ` ` } }
If there is no license, return an empty string
If there is no license return an empty string