Posts by João Antonio Santana • 31 points
1 post
-
3
votes1
answer138
viewsQ: How to evaluate whether a string is present in an array in Powershell?
I’m writing a git hook to check if the commit message matches an array of words. $array = @('Adiciona', 'Altera', 'Corrige', 'Refatora', 'Remove') $msg = "Coloca coisas ao projeto." if…
powershellasked João Antonio Santana 31