mirror of
https://github.com/hanzoai/tailwindcss.git
synced 2026-09-24 17:03:14 +00:00
Fix failing upgrade test in CI (#20357)
The last CI run on `main` was on July 16, and the last `globby` release (16.2.2) was released on July 15 (~21 hours earlier). Due to the default `minimumReleaseAge` in pnpm of 24 hours, it meant that we were receiving the previous globby version. In the new version, they slightly changed some of the `.gitignore` parsing, but in one of our upgrade tests we wrote an invalid `.gitignore` file (which had indented lines). This PR fixes that by using the `txt` tagged template literal, which behind the scenes uses `dedent` which in turn makes sure that we ship a proper `.gitignore` file. ## Test plan All tests should pass [ci-all]
This commit is contained in:
@@ -2557,7 +2557,7 @@ test(
|
||||
@import './utilities.css';
|
||||
@import './generated/ignore-me.css';
|
||||
`,
|
||||
'src/generated/.gitignore': `
|
||||
'src/generated/.gitignore': txt`
|
||||
*
|
||||
!.gitignore
|
||||
`,
|
||||
|
||||
Reference in New Issue
Block a user