Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Robin Malfait <[email protected]>
  • Loading branch information
philipp-spiess and RobinMalfait committed Nov 18, 2024
commit edcd0c834debc75bc1d9683176f45089d7a93037
2 changes: 1 addition & 1 deletion integrations/upgrade/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2464,7 +2464,7 @@ test(
},
)

test.only(
test(
'requires Tailwind v3 before attempting an upgrade',
{
fs: {
Expand Down
1 change: 0 additions & 1 deletion packages/@tailwindcss-upgrade/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ async function run() {

// Require an installed `tailwindcss` version < 4
let tailwindVersion = await getPackageVersion('tailwindcss', base)
console.error({ tailwindVersion })
if (tailwindVersion && Number(tailwindVersion.split('.')[0]) !== 3) {
error(
`Tailwind CSS v${tailwindVersion} found. The migration tool can only be run on v3 projects.`,
Expand Down