Skip to content

bug: Expected the module specifier to be a string literal. #32

Closed
@luke-rogers

Description

@luke-rogers

Prerequisites

Codemod version

0.0.7

Current Behavior

Run the codemod against my project and it fails half way through with the error Expected the module specifier to be a string literal.

Expected Behavior

The codemod successfully runs without error.

If the codemod does error, it should attempt to print the source file path that cause the error so the user can attempt to manually resolve the issue and run the codemod again.

Steps to Reproduce

  1. Run codemod against my project

Code Reproduction URL

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: buga confirmed bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions