Skip to content

Output one entry per replacement #10

@43081j

Description

@43081j

We currently output a log entry per file, per replacement.

For example, if you have foo.ts and bar.ts which both contain a bad module, you will see two logs.

Ideally, we make this more concise like so:

Module `blah` could be replaced by the following:

{some url}

In files:
- package.json
- foo.ts
- bar.ts

We should be careful when building this logic, though, as we need to avoid keeping a buffer of all files in memory.

We can't simply loop through all files/replacements and build a result set up, as that will take too much memory in large projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions