* ongoing * Move get-codeowners scripts and tests to their own dirs * address PR remarks * Fix CodeOwnerFileLocation path, fix casing, and dedup param defaults * fix param names * add todos on needed changes in cpp repo * Add CodeownersFileLocation to Get-Codeowners and use $null for default param values * move get-codeowners back to scripts/ and rename -functions to .lib * fix: use empty string as defaults instead of $nulls, to fix invocation * fix bug with invocation of Get-Codeowners + add support for passing IncludeNonUserAliases as switch * fix path iin Metadata-Helpers.ps1 * fix typo * Update archetype-cpp-release.yml --------- Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
18 lines
472 B
PowerShell
18 lines
472 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Please see the comment on Get-Codeowners defined in ./get-codeowners.lib.ps1
|
|
#>
|
|
param (
|
|
[string] $TargetPath = "",
|
|
[string] $TargetDirectory = "",
|
|
[string] $CodeownersFileLocation = "",
|
|
[switch] $IncludeNonUserAliases
|
|
)
|
|
|
|
. $PSScriptRoot/get-codeowners.lib.ps1
|
|
|
|
return Get-Codeowners `
|
|
-TargetPath $TargetPath `
|
|
-TargetDirectory $TargetDirectory `
|
|
-CodeownersFileLocation $CodeownersFileLocation `
|
|
-IncludeNonUserAliases:$IncludeNonUserAliases |