ci: add git hooks for local CI parity #960
4 new issues (0 max.) of at least medium severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 4
See the complete overview on Codacy
Annotations
Check warning on line 18 in .githooks/hooks/Invoke-PreCommit.ps1
codacy-production / Codacy Static Code Analysis
.githooks/hooks/Invoke-PreCommit.ps1#L18
File 'Invoke-PreCommit.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.
Check warning on line 94 in .githooks/hooks/Invoke-PreCommit.ps1
codacy-production / Codacy Static Code Analysis
.githooks/hooks/Invoke-PreCommit.ps1#L94
File 'Invoke-PreCommit.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.
Check warning on line 95 in .githooks/hooks/Invoke-PreCommit.ps1
codacy-production / Codacy Static Code Analysis
.githooks/hooks/Invoke-PreCommit.ps1#L95
File 'Invoke-PreCommit.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.
Check warning on line 100 in .githooks/hooks/Invoke-PreCommit.ps1
codacy-production / Codacy Static Code Analysis
.githooks/hooks/Invoke-PreCommit.ps1#L100
File 'Invoke-PreCommit.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.