Skip to content

Commit

Permalink
fix(core): Fixed verbose logging of Nx always enabled
Browse files Browse the repository at this point in the history
Fixes #312
  • Loading branch information
TriPSs committed Sep 6, 2024
1 parent 01eacdd commit 7527115
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/core/src/utils/use-verbose-logging.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { isCI } from './is-ci'

export const USE_VERBOSE_LOGGING = isCI() || Boolean(process.env.NX_VERBOSE_LOGGING)
const NX_VERBOSE_LOGGING_ENABLED = process.env.NX_VERBOSE_LOGGING === 'true'

export const USE_VERBOSE_LOGGING_MINIMAL = Boolean(process.env.NX_VERBOSE_LOGGING || process.env.ACTIONS_RUNNER_DEBUG)
export const USE_VERBOSE_LOGGING = isCI() || NX_VERBOSE_LOGGING_ENABLED

export const USE_VERBOSE_LOGGING_MINIMAL = NX_VERBOSE_LOGGING_ENABLED || Boolean(process.env.ACTIONS_RUNNER_DEBUG)

0 comments on commit 7527115

Please sign in to comment.