Types/OpenPackage/get_Function.json.ps1
|
<# .SYNOPSIS Gets a package's `function.json` .DESCRIPTION Gets the content of any `function.json` files in the package. These files are used by Azure Functions .LINK https://github.com/Azure/azure-functions-host/wiki/function.json #> [OutputType([PSObject])] param() foreach ($part in $this.GetParts()) { if ($part.Uri -notmatch '/function\.json$') { continue } if ($part.Reader) { $part.Read() } else { $part } } |