Skip to content

Commit

Permalink
fix: Amazon Polly is always configured on check script due to new str…
Browse files Browse the repository at this point in the history
…ucture
  • Loading branch information
louistiti committed Jan 17, 2022
1 parent f1f4875 commit e6246d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default () => new Promise(async (resolve, reject) => {
log.info('Amazon Polly TTS')
try {
const json = JSON.parse(fs.readFileSync(amazonPath))
if (json.accessKeyId === '' || json.secretAccessKey === '') {
if (json.credentials.accessKeyId === '' || json.credentials.secretAccessKey === '') {
report.can_amazon_polly_tts.v = false
log.warning('Amazon Polly TTS is not yet configured\n')
} else {
Expand Down

0 comments on commit e6246d1

Please sign in to comment.