stank icon indicating copy to clipboard operation
stank copied to clipboard

warn on missing powershell safety configurations

Open mcandre opened this issue 10 months ago • 0 comments

The first two non-comment, non-blank lines in a PowerShell script should include:

  • Set-PSDebug -Strict (equivalent of POSIX sh set -u)
  • $ErrorActionPreference = "Stop" (equivalent of POSIX sh set -e)

mcandre avatar Feb 25 '25 21:02 mcandre