Skip to content

Commit 67bae93

Browse files
committed
Set location
1 parent 759aaf3 commit 67bae93

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/ExamplesGenerator.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,7 @@ function Update-ExampleFile {
405405
}
406406
}
407407

408-
}
409-
Set-Location msgraph-sdk-powershell
408+
}
410409
$JsonContent = Get-Content -Path $MetaDataJsonFile
411410
$DeserializedContent = $JsonContent | ConvertFrom-Json
412411
foreach($Data in $DeserializedContent)
@@ -447,7 +446,7 @@ if ($ModulesToGenerate.Count -eq 0) {
447446
[HashTable] $ModuleMapping = Get-Content $ModuleMappingConfigPath | ConvertFrom-Json -AsHashTable
448447
$ModulesToGenerate = $ModuleMapping.Keys
449448
}
450-
Set-Location ..\msgraph-sdk-powershell
449+
Set-Location ..\
451450
Start-Generator -ModulesToGenerate $ModulesToGenerate -GenerationMode "auto"
452451

453452
#Comment the above and uncomment the below start command, if you manually want to manually pass ExternalDocs url.

0 commit comments

Comments
 (0)