Skip to content

Commit

Permalink
fix: don't show "fresh ready" log in prod (#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister authored Jun 5, 2024
1 parent f69d393 commit 3fe9888
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,8 @@ export class App<State> {
);
const localLabel = colors.bold("Local:");

// Print more concise output for deploy logs
if (DENO_DEPLOYMENT_ID) {
console.log(
colors.bgRgb8(colors.rgb8(" 🍋 Fresh ready ", 0), 121),
`${localLabel} ${address}`,
);
} else {
// Don't spam logs with this on live deployments
if (!DENO_DEPLOYMENT_ID) {
console.log();
console.log(
colors.bgRgb8(colors.rgb8(" 🍋 Fresh ready ", 0), 121),
Expand Down

0 comments on commit 3fe9888

Please sign in to comment.