Skip to content

Commit

Permalink
chore: remove unnecessary non-null assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jul 12, 2024
1 parent 29f2114 commit c6ddde5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { NewExpression } from "jscodeshift";

export const getClientNewExpressionFromLocalName = (v2ClientLocalName: string): NewExpression => {
// Support for DynamoDB.DocumentClient
const [clientName, subClientName] = v2ClientLocalName!.split(".");
const [clientName, subClientName] = v2ClientLocalName.split(".");

if (subClientName) {
return {
Expand Down

0 comments on commit c6ddde5

Please sign in to comment.