-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
bugSomething isn't workingSomething isn't workingp2This is a standard priority issueThis is a standard priority issue
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
The global require is not removed in TS file
Steps to reproduce
const AWS = require("aws-sdk");
const client = new AWS.DynamoDB();Observed behavior
const {
DynamoDB
} = require("@aws-sdk/client-dynamodb");
const AWS = require("aws-sdk");
const client = new DynamoDB();Expected behavior
const {
DynamoDB
} = require("@aws-sdk/client-dynamodb");
const client = new DynamoDB();Environment
aws-sdk-js-codemod: 0.25.1
- jscodeshift: 0.15.0
- recast: 0.23.4Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingp2This is a standard priority issueThis is a standard priority issue