function formatChangeTypeCount()

in src/helpers/whatif.ts [193:212]


function formatChangeTypeCount(changeType: ChangeType, count: number): string {
  switch (changeType) {
    case "Create":
      return `${count} to create`;
    case "Delete":
      return `${count} to delete`;
    case "Deploy":
      return `${count} to deploy`;
    case "Modify":
      return `${count} to modify`;
    case "Ignore":
      return `${count} to ignore`;
    case "NoChange":
      return `${count} no change`;
    case "Unsupported":
      return `${count} unsupported`;
    default:
      throw new Error(`Invalid ChangeType: ${changeType}`);
  }
}