Skip to content

Commit

Permalink
fix: Don't ignore Yarn patch files (#25398)
Browse files Browse the repository at this point in the history
An earlier commit modified `.gitignore` to ignore `.yarn` files in
`development/generate-attributions` (which is a special sub-project in
this repo used in the attribution generation workflow). However, this
change ended up ignoring Yarn patch files in `.yarn/patches` (along with
possibly other Yarn-specific files). This commit narrows the pattern in
`.gitignore` not to do this.
  • Loading branch information
mcmire authored Jun 20, 2024
1 parent b8bd980 commit 2ccf3cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@ test-results/
# This file is used to authenticate with the GitHub Package registry, to
# enable the use of @metamask preview builds.
.npmrc
#yarn

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
**/.yarn/*
development/generate-attributions/.yarn/*

# MMI Playwright
public/playwright
Expand Down

0 comments on commit 2ccf3cf

Please sign in to comment.