File tree 1 file changed +0
-11
lines changed
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -79,22 +79,13 @@ function Get-Files {
79
79
[Hashtable ] $OpenApiContent
80
80
)
81
81
82
- $ModuleManifestFile = (Join-Path $PSScriptRoot " ..\src\$Module \$GraphProfile \Microsoft.Graph.$Module .psd1" )
83
- if ($GraphProfile -eq " beta" ){
84
- $ModuleManifestFile = (Join-Path $PSScriptRoot " ..\src\$Module \$GraphProfile \Microsoft.Graph.Beta.$Module .psd1" )
85
- }
86
- $ModuleManifestFileContent = Get-Content - Path $ModuleManifestFile
87
-
88
82
try {
89
83
if (Test-Path $GraphProfilePath ) {
90
84
91
85
foreach ($File in Get-ChildItem $GraphProfilePath ) {
92
86
93
87
# Extract command over here
94
88
$Command = [System.IO.Path ]::GetFileNameWithoutExtension($File )
95
- # Check for cmdlet existence from the module manifest file
96
- if ($ModuleManifestFileContent | Select-String - pattern $Command ) {
97
-
98
89
# Extract URI path
99
90
$UriPath = $null
100
91
if ($GraphProfile -eq " beta" ){
@@ -107,8 +98,6 @@ function Get-Files {
107
98
$Method = $UriPaths.Method
108
99
Get-ExternalDocsUrl - GraphProfile $GraphProfile - Url - UriPath $UriPath - Command $Command - OpenApiContent $OpenApiContent - GraphProfilePath $GraphProfilePath - Method $Method - Module $Module
109
100
}
110
-
111
- }
112
101
113
102
}
114
103
}
You can’t perform that action at this time.
0 commit comments