mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-13 06:27:16 +02:00
Improve the done output
This commit is contained in:
@ -34,7 +34,8 @@ try {
|
||||
write-warning "Invalid XML file"
|
||||
exit 1
|
||||
}
|
||||
write-host -foregroundColor green "OK - XML file is valid"
|
||||
|
||||
"✔️ XML file is valid"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user