Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Jun 14, 2024
1 parent 2642bd7 commit 8c4e12e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions lib/get-tts-voices.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,12 @@ const getAwsVoices = async(_client, createHash, retrieveHash, logger, credential
client = new PollyClient({
region,
credentials: await getAwsAuthToken(
logger, createHash, retrieveHash, {
accessKeyId: null,
secretAccessKey: null,
region,
RoleArn: roleArn
logger, createHash, retrieveHash,

Check failure on line 111 in lib/get-tts-voices.js

View workflow job for this annotation

GitHub Actions / build

Trailing spaces not allowed
{
accessKeyId: null,
secretAccessKey: null,
region,
RoleArn: roleArn
}),

Check failure on line 117 in lib/get-tts-voices.js

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 10 spaces but found 8
});
} else {
Expand Down
4 changes: 2 additions & 2 deletions lib/synth-audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,13 @@ const synthPolly = async(createHash, retrieveHash, logger,
polly = new PollyClient({
region,
credentials: await getAwsAuthToken(
logger, createHash, retrieveHash,
logger, createHash, retrieveHash,
{
accessKeyId: null,
secretAccessKey: null,
region,
RoleArn: roleArn
}),
}),
});
} else {
// AWS RoleArn assigned to Instance profile
Expand Down

0 comments on commit 8c4e12e

Please sign in to comment.