src/envalidWithoutDotenv.js
function formatSpecDescription(spec) {
    const egText = spec.example ? ` (eg. "${spec.example}")` : ''
    const docsText = spec.docs ? `. See ${spec.docs}` : ''
    return `${spec.desc}${egText}${docsText}` || ''
}
function formatSpecDescription(spec) {
    const egText = spec.example ? ` (eg. "${spec.example}")` : ''
    const docsText = spec.docs ? `. See ${spec.docs}` : ''
    return `${spec.desc}${egText}${docsText}` || ''
}
function formatSpecDescription ( spec ) { const egText = spec . example ? ` ${ spec . example } ` : '' const docsText = spec . docs ? ` ${ spec . docs } ` : '' return ` ${ spec . desc } ${ egText } ${ docsText } ` || '' }
Format a string error message for when a required env var is missing
Format a string error message for when a required env var is missing