Improve wording in setup script

This commit is contained in:
Matthias 2024-06-01 20:10:24 +02:00
parent 93b64e7db6
commit a306f5a245

View File

@ -91,6 +91,7 @@ function Get-UserSelection {
}
}
}
function Exit-Script {
param (
[int]$ExitCode,
@ -204,7 +205,7 @@ function Main {
Write-Log "Checking if the repository is clean..."
$Status = & "C:\Program Files\Git\cmd\git.exe" status --porcelain
if ($Status) {
Write-Log "Repository is dirty. Skipping pull."
Write-Log "Changes in local git repository. Skipping git pull."
}
else {
Write-Log "Pulling latest updates..."