Skip to content

Commit 5d2970b

Browse files
What's up with that?
1 parent 6e16360 commit 5d2970b

File tree

1 file changed

+2
-0
lines changed
  • packages/@tailwindcss-upgrade/src/utils

1 file changed

+2
-0
lines changed

packages/@tailwindcss-upgrade/src/utils/git.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import { execSync } from 'node:child_process'
33
export function isRepoDirty() {
44
try {
55
let stdout = execSync('git status --porcelain', { encoding: 'utf-8' })
6+
console.log({ stdout })
67
return stdout.trim() !== ''
78
} catch (error) {
9+
console.log({ error })
810
// If it's not a git repository we don't know if it's dirty or not. But we
911
// also don't want to block the migration. Maybe we can still fail and
1012
// require a `--force` flag?

0 commit comments

Comments
 (0)