Fix 'File 'patch_tag.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.' issue in scripts\git\patch_tag.ps1
Opened this issue · 0 comments
sirh3e commented
CodeFactor found an issue: File 'patch_tag.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
It's currently on:
scripts\git\patch_tag.ps1:71