Skip to content

Commit

Permalink
remove print banner
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjessop committed Dec 10, 2024
1 parent e989107 commit 4c2ff47
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions packages/wrangler/src/versions/deployments/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ export const deploymentsListCommand = createCommand({
default: false,
},
},
behaviour: {
printBanner: false,
},
handler: async function versionsDeploymentsListHandler(args, { config }) {
if (!args.json) {
await printWranglerBanner();
}

metrics.sendMetricsEvent(
"list versioned deployments",
{ json: args.json },
Expand Down
3 changes: 3 additions & 0 deletions packages/wrangler/src/versions/deployments/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ export const deploymentsStatusCommand = createCommand({
default: false,
},
},
behaviour: {
printBanner: false,
},
handler: async function versionsDeploymentsStatusHandler(args, { config }) {
if (!args.json) {
await printWranglerBanner();
Expand Down
2 changes: 0 additions & 2 deletions packages/wrangler/src/versions/deployments/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ export const deploymentsViewCommand = createCommand({
},
positionalArgs: ["deployment-id"],
handler: async function versionsDeploymentsViewHandler(args) {
await printWranglerBanner();

if (args.deploymentId === undefined) {
throw new UserError(
"`wrangler deployments view` has been renamed `wrangler deployments status`. Please use that command instead."
Expand Down

0 comments on commit 4c2ff47

Please sign in to comment.