Skip to content
Merged
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
fix dirty check
  • Loading branch information
tobiasdiez committed Jul 10, 2024
commit 453b50ea0dfa3f61f76e211d18b0b1159208774f
2 changes: 1 addition & 1 deletion prepare-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async function writeChangelog(changelog: string) {
}

function checkGitBranch() {
const isDirtyGit = !!execSync('git status --porcelain')
const isDirtyGit = execSync('git status --porcelain').toString().trim()
if (isDirtyGit) {
consola.error(`Git repo isn't clean.`)
process.exit(1)
Expand Down