fix(core): propagate verbose flag when running init generator dur… (#21868)

This commit is contained in:
Tine Kondo 2024-02-19 17:06:19 +00:00 committed by GitHub
parent 077debe2b2
commit 003b9613c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,10 @@ async function initializePlugin(
await runNxAsync(
`g ${pkgName}:${initGenerator} --keepExistingVersions${
updatePackageScripts ? ' --updatePackageScripts' : ''
}`
}`,
{
silent: !options.verbose,
}
);
} catch (e) {
spinner.fail();