Skip to content

Commit 9f7e1d7

Browse files
committed
Added fetch from list variants
1 parent 69c04c1 commit 9f7e1d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/ImportExamples.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,16 @@ function Get-Files {
9090
$CommandValue = $null
9191
if ($GraphProfile -eq "beta") {
9292
$CommandValue = $BetaCommandGetVariantList[$Command]
93+
if(-not($CommandValue)){
94+
$CommandValue = $BetaCommandListVariantList[$Command]
95+
}
9396

9497
}
9598
else {
9699
$CommandValue = $V1CommandGetVariantList[$Command]
100+
if(-not($CommandValue)){
101+
$CommandValue = $V1CommandListVariantList[$Command]
102+
}
97103
}
98104

99105
if ($CommandValue) {

0 commit comments

Comments
 (0)