Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit e999e86

Browse files
authored
M #-: Remove irrelevant logging
2 parents 5c59e5e + 3dfd6d8 commit e999e86

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

src/context.ps1

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ function logmsg($message)
3636

3737
function getContext($file)
3838
{
39-
logmsg "* Loading Context File"
4039
$context = @{}
4140
switch -regex -file $file {
4241
"^([^=]+)='(.+?)'$" {
@@ -76,14 +75,6 @@ function waitForContext($checksum)
7675
# How long to wait before another poll (in seconds)
7776
$sleep = 30
7877

79-
logmsg "* Starting a wait-loop with the interval of $sleep seconds..."
80-
81-
Write-Host "`r`n" -NoNewline
82-
Write-Host "***********************`r`n" -NoNewline
83-
Write-Host "*** WAIT-LOOP START ***`r`n" -NoNewline
84-
Write-Host "***********************`r`n" -NoNewline
85-
Write-Host "`r`n" -NoNewline
86-
8778
do {
8879

8980
# Reset the contextPath
@@ -163,12 +154,6 @@ function waitForContext($checksum)
163154
Start-Sleep -Seconds $sleep
164155
} while ($true)
165156

166-
Write-Host "`r`n" -NoNewline
167-
Write-Host "***********************`r`n" -NoNewline
168-
Write-Host "*** WAIT-LOOP END ***`r`n" -NoNewline
169-
Write-Host "***********************`r`n" -NoNewline
170-
Write-Host "`r`n" -NoNewline
171-
172157
# make a copy of the context.sh in the case another event would happen and
173158
# trigger a new context.sh while still working on the previous one which
174159
# would result in a mismatched checksum...

0 commit comments

Comments
 (0)