Skip to content

Commit f35a126

Browse files
committed
Update #ModRelease.ps1
1 parent c802d16 commit f35a126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

#ModRelease/#ModRelease.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ if ( $compare -eq $newTagRelease ) {
121121
break
122122
}
123123

124-
Start-Process -FilePath git -ArgumentList "update-index --refresh" -Wait -NoNewWindow -PassThru
125-
$LocalChanges = (Start-Process -FilePath git -ArgumentList "diff-index --quiet HEAD --" -Wait -NoNewWindow -PassThru).ExitCode
124+
Start-Process -FilePath 'git' -ArgumentList 'update-index --refresh' -Wait -NoNewWindow
125+
$LocalChanges = (Start-Process -FilePath 'git' -ArgumentList 'diff-index --quiet HEAD --' -Wait -NoNewWindow -PassThru).ExitCode
126126
if ($LocalChanges) {
127127
Write-Host "You have uncommitted changes, please commit or revert them before making new release."
128128
pause

0 commit comments

Comments
 (0)