Update convert-ps2md.ps1

This commit is contained in:
Markus Fleschutz 2021-08-29 15:42:40 +02:00 committed by GitHub
parent e142c723de
commit 6aed385f2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
.EXAMPLE .EXAMPLE
PS> .\convert-ps2md.ps1 myscript.ps1 PS> .\convert-ps2md.ps1 myscript.ps1
.NOTES .NOTES
Author: Markus Fleschutz | License: CC0 Author: Markus Fleschutz · License: CC0
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
#> #>
@ -124,7 +124,7 @@ try {
} }
"" ""
"*Created by convert-ps2md.ps1*" "*Generated by convert-ps2md.ps1*"
} catch { } catch {
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1 exit 1