chore(style): convert blocks into functions (see #325)

This commit is contained in:
Marcin Woźniak
2021-11-15 21:33:22 +01:00
committed by AJ ONeal
parent 704265583c
commit ca7a838c6f
61 changed files with 244 additions and 140 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
{
function __init_powershell() {
set -e
set -u
@@ -40,3 +40,5 @@
echo "Installed 'pwsh' at $pkg_dst"
}
}
__init_powershell