Skip to content

Commit

Permalink
docs: add reason for skipping transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Feb 26, 2024
1 parent 699a668 commit 9a9653d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transforms/v2-to-v3/transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const transformer = async (file: FileInfo, api: API) => {
const importType = getImportType(j, source);

if (importType === null) {
// Skip transformation, since no import/require statements found for "aws-sdk" package.
return file.source;
}

Expand Down

0 comments on commit 9a9653d

Please sign in to comment.