modified: RdzeN-Profile.ps1
This commit is contained in:
parent
6d2921d666
commit
b011fa30b8
@ -47,8 +47,13 @@ function Pull-Repository {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($git_tmp -match "(Your branch is up to date)") {
|
if ($git_tmp -match "(Your branch is up to date)") {
|
||||||
Write-Host "$git_tmp" -ForegroundColor Green
|
$git_tmp | ForEach-Object {
|
||||||
|
Write-Host $_ -ForegroundColor Green
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
|
$git_tmp | ForEach-Object {
|
||||||
|
Write-Host $_ -ForegroundColor Red
|
||||||
|
}
|
||||||
Pull-Repository
|
Pull-Repository
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user