chore(repo): align verbose logging parameter names (#7984)

This commit is contained in:
Miroslav Jonaš 2021-12-03 03:32:52 -06:00 committed by GitHub
parent 7dbb645b8b
commit c66f3b8856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ jobs:
SELECTED_PM: ${{ matrix.package_manager }}
npm_config_registry: http://localhost:4872
YARN_REGISTRY: http://localhost:4872
VERBOSE_OUTPUT: ${{ 'true' }}
NX_VERBOSE_LOGGING: ${{ 'true' }}
NX_E2E_SKIP_BUILD_CLEANUP: ${{ 'true' }}
NX_CACHE_DIRECTORY: ${{ matrix.os-cache-dir }}

View File

@ -438,7 +438,7 @@ export function runCLI(
maxBuffer: 50 * 1024 * 1024,
})
);
if (process.env.VERBOSE_OUTPUT) {
if (process.env.NX_VERBOSE_LOGGING) {
logInfo(`result of running: ${command}`, r);
}
@ -490,7 +490,7 @@ export function runCommand(command: string): string {
},
encoding: 'utf-8',
}).toString();
if (process.env.VERBOSE_OUTPUT) {
if (process.env.NX_VERBOSE_LOGGING) {
console.log(r);
}
return r;