Skip to content

Commit 0702f08

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Re-enabled parallelism
1 parent b64a9ad commit 0702f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/GenerateModules.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ $ModuleToGenerate | ForEach-Object {
116116
# Check if there is any folder with autorest in the name
117117
$AutoRestTempFolder = Get-ChildItem -Path $TempPath -Recurse -Directory | Where-Object { $_.Name -match "autorest" }
118118
# Go through each folder and forcefully close any open files
119-
$AutoRestTempFolder | ForEach-Object {
119+
$AutoRestTempFolder | ForEach-Object -Parallel {
120120
$AutoRestTempFolder = $_
121121
#Delete files and folders if they exist
122122
if (Test-Path $AutoRestTempFolder.FullName) {

0 commit comments

Comments
 (0)