We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c802d16 commit f35a126Copy full SHA for f35a126
#ModRelease/#ModRelease.ps1
@@ -121,8 +121,8 @@ if ( $compare -eq $newTagRelease ) {
121
break
122
}
123
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
+Start-Process -FilePath 'git' -ArgumentList 'update-index --refresh' -Wait -NoNewWindow
+$LocalChanges = (Start-Process -FilePath 'git' -ArgumentList 'diff-index --quiet HEAD --' -Wait -NoNewWindow -PassThru).ExitCode
126
if ($LocalChanges) {
127
Write-Host "You have uncommitted changes, please commit or revert them before making new release."
128
pause
0 commit comments