Skip to content

Commit 066d2e9

Browse files
committed
fix lint.
1 parent b1f78c3 commit 066d2e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dynamoDbSafe.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class DynamoDB extends DynamoDbOriginal.DocumentClient {
119119
// Do not log items that are too bit, it will just become a huge problem for the caller.
120120
const loggedParameters = error.code === 'ValidationException' && error.message === 'Item size has exceeded the maximum allowed size'
121121
? { calculatedItemSize: JSON.stringify(originalParams).length }
122-
: originalParams
122+
: originalParams;
123123

124124
const wrappedError = new DynamoDbError({ message: error.message, method: 'Put', parameters: loggedParameters, dynamoDbStack: error.stack }, error.code);
125125
wrappedError.stack = capturedStack;
@@ -167,7 +167,7 @@ class DynamoDB extends DynamoDbOriginal.DocumentClient {
167167
// Do not log items that are too bit, it will just become a huge problem for the caller.
168168
const loggedParameters = error.code === 'ValidationException' && error.message === 'Item size has exceeded the maximum allowed size'
169169
? { calculatedItemSize: JSON.stringify(originalParams).length }
170-
: originalParams
170+
: originalParams;
171171

172172
const wrappedError = new DynamoDbError({ message: error.message, method: 'Update', parameters: loggedParameters, dynamoDbStack: error.stack }, error.code);
173173
wrappedError.stack = capturedStack;

0 commit comments

Comments
 (0)