Skip to content

Commit 9fb69b9

Browse files
author
Andrew Omondi
committed
fix: delete the folder to ensure passing builds
1 parent 825ce2f commit 9fb69b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/copy-typescript-sdk-models.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ foreach ($directory in $packagesDirectories) {
2323
Invoke-Expression "$PSScriptRoot\fix-typescript-fluent-packages-imports.ps1 -targetDirectory $($directory.FullName) -packageName $packageName"
2424
}
2525
else {
26-
Write-Host "Skipping the fluent API segment: $fluentAPISegmentName as it does not exist in the generated models" -ForegroundColor Yellow
26+
Remove-Item $directory.FullName -Force -Recurse -ErrorAction SilentlyContinue
27+
Write-Host "Removing folder for the fluent API segment: $fluentAPISegmentName as it does not exist in the generated models" -ForegroundColor Yellow
2728
}
2829
}
2930

0 commit comments

Comments
 (0)