Skip to content

Commit

Permalink
include api data when translating an unknown source/trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
RamIdeas committed Mar 12, 2024
1 parent 50911dd commit abc57e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wrangler/src/versions/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function formatSource(source: string): string {
case "terraform":
return "Terraform 🏗️";
default:
return "Other";
return `Other (${source})`;
}
}
export function formatTrigger(trigger: string): string {
Expand All @@ -113,6 +113,6 @@ export function formatTrigger(trigger: string): string {
case "promotion":
return "Promotion";
default:
return "Unknown";
return `Unknown (${trigger})`;
}
}

0 comments on commit abc57e3

Please sign in to comment.