Skip to content

Commit ff4aaad

Browse files
azure-sdkscbedd
andauthored
Fix issue with excludepaths in get-prpkgproperties (Azure#2326)
Co-authored-by: Scott Beddall <[email protected]>
1 parent 7564641 commit ff4aaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/scripts/Package-Properties.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ function Update-TargetedFilesForExclude([string[]]$TargetedFiles, [string[]]$Exc
266266
foreach ($file in $TargetedFiles) {
267267
$shouldExclude = $false
268268
foreach ($exclude in $ExcludePaths) {
269-
if (!$file.StartsWith($exclude,'CurrentCultureIgnoreCase')) {
269+
if ($file.StartsWith($exclude,'CurrentCultureIgnoreCase')) {
270270
$shouldExclude = $true
271271
break
272272
}

0 commit comments

Comments
 (0)