diff --git a/_build/Replace-TokensInFile.ps1 b/_build/Replace-TokensInFile.ps1 index 3e1b5cd5..6c1eeb8b 100644 --- a/_build/Replace-TokensInFile.ps1 +++ b/_build/Replace-TokensInFile.ps1 @@ -30,11 +30,11 @@ else{ $token = $TokenPattern -replace "TOKEN", $Tokens[$i] if($TokenizedFilecontent -match $token){ - Write-Output "Replacing token '$token' --> File content DOES HAVE the toke '$token'. The token will be replaced." + Write-Output "Token '$token' found, will be replaced." } else { - Write-Output "Replacing token '$token' --> File content DOES NOT HAVE the '$token'. The token WILL NOT BE replaced." + Write-Warning "Token '$token' NOT FOUND." } $TokenizedFilecontent = $TokenizedFilecontent.Replace($token, $Replacements[$i]) @@ -42,7 +42,7 @@ else{ if($TargetConfigFile){ if((Test-Path $TargetConfigFile) -eq $false){ - Write-Output "Target config file does not exists. It will be created." + Write-Warning "Target config file does not exists. It will be created." } Out-File -InputObject $TokenizedFilecontent -FilePath $TargetConfigFile -Encoding utf8 -Force -ErrorAction Continue }