Wriar / ShadowBox

Development Repository of ShadowBox, an open-source zero-knowledge file storage & encryption platform written in NodeJS
MIT License
1 stars 0 forks source link

Fix 16 Maintainability issues in generateCertificates.ps1 #11

Open Wriar opened 1 year ago

Wriar commented 1 year ago

CodeFactor found multiple issues:

File 'generateCertificates.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.