Skip to content

The number of transformed files in codemod is double #1788

Open
@yangwooseong

Description

Summary

bezier-codemod 을 실행 결과에서 transformed files 의 수가 2배입니다.

image

(실제로 IDE 상에서 변경된 파일은 7개)

Reproduction process

const sourceFiles = project.addSourceFilesAtPaths(filePath)

바로 아래에서 로그를 찍어보면 filePath 에 해당하는 파일이 2번 배열에 들어가고 있어서 왜 그렇게 되는지를 봐야합니다.

사실 변경된 파일은 IDE로 쉽게 파악할 수 있기 때문에 몇 줄이 바뀌었는지를 알려주는게 더 좋을 것 같기도 합니다.

Version of bezier-react

0.4.0 (bezier-codemod)

Browser

No response

Operating system

  • macOS
  • Windows
  • Linux

Additonal Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugIssues related to anything that isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions