fix(core): setting up .nx inside gradle shouldn't throw (#21957)

This commit is contained in:
Craigory Coppola 2024-03-04 11:00:42 -05:00 committed by GitHub
parent dee40997da
commit c754facb0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@ export async function initHandler(options: InitArgs): Promise<void> {
}
generateDotNxSetup(version);
// invokes the wrapper, thus invoking the initial installation process
runNxSync('');
runNxSync('--version', { stdio: 'ignore' });
return;
}