Change Yarn PnP regex to include all .pnp.* files

This commit is contained in:
Lauris BH 2022-08-01 21:35:46 +03:00 committed by GitHub
parent a6f32e054c
commit 05907fe7ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ var GeneratedCodeNameMatchers = []GeneratedCodeNameMatcher{
nameEndsWith("package-lock.json"),
// Yarn plugnplay
nameMatches(`(^|\/)\.pnp\.(c|m)?js$`),
nameMatches(`(^|\/)\.pnp\..*$`),
// Godeps
nameContains("Godeps/"),