Skip to content

Commit

Permalink
Change EXIF check to non-breaking for v12.x release path
Browse files Browse the repository at this point in the history
  • Loading branch information
bkimminich committed Apr 7, 2021
1 parent d1bc50b commit 00a5049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/startup/validateConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ const checkNecessaryExtraKeysOnSpecialProducts = (products) => {
specialProducts.forEach(({ name, key, extra = {} }) => {
const matchingProducts = products.filter((product) => product[key])
if (extra.key && matchingProducts.length === 1 && !matchingProducts[0][extra.key]) {
logger.warn(`Product ${colors.italic(matchingProducts[0].name)} configured as ${colors.italic(name)} does't contain necessary ${colors.italic(extra.name)} (${colors.red('NOT OK')})`)
success = false
logger.info(`Product ${colors.italic(matchingProducts[0].name)} configured as ${colors.italic(name)} does't contain necessary ${colors.italic(extra.name)} (${colors.yellow('OK')})`)
success = true // TODO Replace with "false" and change above log to warning with red "NOT OK" with v13.x major release
}
})
return success
Expand Down

0 comments on commit 00a5049

Please sign in to comment.