Skip to content

Commit

Permalink
added padding
Browse files Browse the repository at this point in the history
  • Loading branch information
amd64fox committed May 2, 2024
1 parent 167678c commit 60f6b83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,8 @@ if (Test-Path -Path $hostsFilePath) {

if ($hosts -match $regex) {

Write-Host ($lang).HostInfo
Write-Host ($lang).HostBak
Write-Host ($lang).HostInfo`n
Write-Host ($lang).HostBak`n

Copy-Item -Path $hostsFilePath -Destination $hostsBackupFilePath -ErrorAction SilentlyContinue

Expand All @@ -612,9 +612,9 @@ if (Test-Path -Path $hostsFilePath) {
[System.IO.File]::WriteAllLines($hostsFilePath, $hosts)
}
catch {
Write-Host ($lang).HostError -ForegroundColor Red
Write-Host ($lang).HostError`n -ForegroundColor Red
$copyError = $Error[0]
Write-Host "Error: $($copyError.Exception.Message)" -ForegroundColor Red
Write-Host "Error: $($copyError.Exception.Message)`n" -ForegroundColor Red
}
}
else {
Expand Down

0 comments on commit 60f6b83

Please sign in to comment.