We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e16360 commit 5d2970bCopy full SHA for 5d2970b
packages/@tailwindcss-upgrade/src/utils/git.ts
@@ -3,8 +3,10 @@ import { execSync } from 'node:child_process'
3
export function isRepoDirty() {
4
try {
5
let stdout = execSync('git status --porcelain', { encoding: 'utf-8' })
6
+ console.log({ stdout })
7
return stdout.trim() !== ''
8
} catch (error) {
9
+ console.log({ error })
10
// If it's not a git repository we don't know if it's dirty or not. But we
11
// also don't want to block the migration. Maybe we can still fail and
12
// require a `--force` flag?
0 commit comments