Skip to content

Commit 56095f0

Browse files
fix: use quiet checkout to avoid exception on git checkout (#1792)
1 parent 2632a0f commit 56095f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/powershell/create-new-feature.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ if ($branchName.Length -gt $maxBranchLength) {
250250
if ($hasGit) {
251251
$branchCreated = $false
252252
try {
253-
git checkout -b $branchName 2>$null | Out-Null
253+
git checkout -q -b $branchName 2>$null | Out-Null
254254
if ($LASTEXITCODE -eq 0) {
255255
$branchCreated = $true
256256
}

0 commit comments

Comments
 (0)