diff --git a/common/reviews/api/rush-lib.api.md b/common/reviews/api/rush-lib.api.md index 93df8c4d2eb..e0f71c699f7 100644 --- a/common/reviews/api/rush-lib.api.md +++ b/common/reviews/api/rush-lib.api.md @@ -305,9 +305,9 @@ export interface IExperimentsJson { noChmodFieldInTarHeaderNormalization?: boolean; omitImportersFromPreventManualShrinkwrapChanges?: boolean; phasedCommands?: boolean; + printEventHooksOutputToConsole?: boolean; usePnpmFrozenLockfileForRushInstall?: boolean; usePnpmPreferFrozenLockfileForRushUpdate?: boolean; - printEventHooksOutputToConsole?: boolean; } // @beta diff --git a/libraries/rush-lib/src/logic/EventHooksManager.ts b/libraries/rush-lib/src/logic/EventHooksManager.ts index 9abdfd44de0..7156466e403 100644 --- a/libraries/rush-lib/src/logic/EventHooksManager.ts +++ b/libraries/rush-lib/src/logic/EventHooksManager.ts @@ -35,7 +35,7 @@ export class EventHooksManager { const stopwatch: Stopwatch = Stopwatch.start(); console.log('\n' + colors.green(`Executing event hooks for ${Event[event]}`)); - const printEventHooksOutputToConsole = + const printEventHooksOutputToConsole: boolean | undefined = isDebug || this._rushConfiguration.experimentsConfiguration.configuration.printEventHooksOutputToConsole; scripts.forEach((script) => {