Explicitly set targetArgument for TermCheck

The `optionsXS` flag defaults to 1 (to enable recursion). What's missing
is the target argument, our sources directory. (It's probably defaulting
to the given value, but we can explicit about this.) We just need to not
override `optionsXS` as we were previously doing with 0 to disable
recursion.
This commit is contained in:
Andrew Schwartzmeyer 2021-09-01 14:43:08 -07:00 committed by Travis Plunk
parent 6cde546203
commit 2671776cec
No known key found for this signature in database
GPG key ID: 3E3A55CE95A79E47

View file

@ -84,8 +84,8 @@ jobs:
displayName: 'Run PoliCheck'
inputs:
targetType: F
targetArgument: '$(Build.SourcesDirectory)'
optionsFC: 0
optionsXS: 1
optionsPE: '1|2|3|4'
optionsHMENABLE: 0
optionsRulesDBPath: '$(Build.SourcesDirectory)\tools\terms\PowerShell-Terms-Rules.mdb'