fix(deploy): change preview deployment limit check to be exclusive

This commit is contained in:
Mauricio Siu
2025-07-13 23:20:23 -06:00
parent 18b65f28f2
commit 1dd713a1d1

View File

@@ -443,7 +443,7 @@ export default async function handler(
for (const app of secureApps) {
const previewLimit = app?.previewLimit || 0;
if (app?.previewDeployments?.length >= previewLimit) {
if (app?.previewDeployments?.length > previewLimit) {
continue;
}
const previewDeploymentResult =