From 42835e2ba816b590510ca307bf991737b941da59 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 4 May 2018 20:08:52 +0200 Subject: [PATCH] #557: use spaces, not tabs --- run-tests.ps1 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/run-tests.ps1 b/run-tests.ps1 index f6279118d..fa3f96ed5 100644 --- a/run-tests.ps1 +++ b/run-tests.ps1 @@ -22,19 +22,19 @@ function CheckSubmoduleStatus() { # git has been called successfully, what about the status? if ($submoduleStatus -contains '-') { - # submodule has not been initialized! - return 2; + # submodule has not been initialized! + return 2; } elseif ($submoduleStatus -contains '+') { # submodule is not synced: - return 1; + return 1; } else { - # everything fine: - return 0; - } + # everything fine: + return 0; + } } else { # git call failed, so we should warn - return 3; + return 3; } } @@ -94,13 +94,13 @@ if (0 -ne ([int]$LASTEXITCODE)) { $submoduleStatus = CheckSubmoduleStatus if ([int]$submoduleStatus -eq 1) { # not synced - Write-Host -ForegroundColor Yellow "Check if submodules are up to date. You can use 'git submodule update' to fix this"; + Write-Host -ForegroundColor Yellow "Check if submodules are up to date. You can use 'git submodule update' to fix this"; } elseif ($submoduleStatus -eq 2) { # not initialized - Write-Host -ForegroundColor Yellow "Check if submodules are initialized. You can run 'git submodule init' to initialize them." + Write-Host -ForegroundColor Yellow "Check if submodules are initialized. You can run 'git submodule init' to initialize them." } elseif ($submoduleStatus -eq 3) { # git not found, maybe submodules not synced? - Write-Host -ForegroundColor Yellow "Could not check if submodules are initialized correctly. Maybe git is not installed?" + Write-Host -ForegroundColor Yellow "Could not check if submodules are initialized correctly. Maybe git is not installed?" } else { #Write-Host "Submodules are up to date"; }