cdk-real-drift 0.4.31 → 0.4.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -15153,7 +15153,8 @@ function hasBaselineForStack(stackName, region, accountId) {
15153
15153
  } catch {
15154
15154
  return false;
15155
15155
  }
15156
- const prefix = (accountId ? `${stackName}.${accountId}.` : `${stackName}.`).toLowerCase();
15156
+ const stackComponent = sanitizeStackNameComponent(stackName);
15157
+ const prefix = (accountId ? `${stackComponent}.${accountId}.` : `${stackComponent}.`).toLowerCase();
15157
15158
  const suffix = `.${region}.json`.toLowerCase();
15158
15159
  return entries.some((f) => {
15159
15160
  const lower = f.toLowerCase();