Skip to content

Commit

Permalink
style(prettier): fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadnassri committed Oct 18, 2024
1 parent 089b8d4 commit 1a551b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/cli/src/utils/update-version-notifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ const SPACE_TO_BORDER = 4;

const INTERVAL_TO_CHECK = 1000 * 60 * 60 * 12;
const SHOULD_NOT_NOTIFY =
process.env.NODE_ENV === 'test' || process.env.CI || !!process.env.LAMBDA_TASK_ROOT || process.env.REDOCLY_SUPPRESS_UPDATE_NOTICE === 'true';
process.env.NODE_ENV === 'test' ||
process.env.CI ||
!!process.env.LAMBDA_TASK_ROOT ||
process.env.REDOCLY_SUPPRESS_UPDATE_NOTICE === 'true';

export const notifyUpdateCliVersion = () => {
if (SHOULD_NOT_NOTIFY) {
Expand Down

0 comments on commit 1a551b2

Please sign in to comment.