Skip to content

Patch may be applied multiple times #238

@OliverJAsh

Description

@OliverJAsh

Reduced test case: https://github.com/OliverJAsh/patch-package-multple-patches-bug

If you clone this test case and run yarn multiple times, you'll find that the patch which adds StreamApiError applies each time yarn is ran, resulting in corrupt code.

patch-package 6.2.2 (latest at time of writing)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions