[kbn-pm] Add uid check (#145769)

This adds the uid check we use in the kibana entrypoint to kbn-pm. `yarn
kbn bootstrap` will exit if the uid is 0.
This commit is contained in:
Jonathan Budzenski 2022-11-18 15:35:06 -06:00 committed by GitHub
parent e20da5fa76
commit 454ca83ff3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@
*/
require('../src/setup_node_env/ensure_node_preserve_symlinks');
require('../src/setup_node_env/root');
require('../src/setup_node_env/node_version_validator');
import('../kbn_pm/src/cli.mjs').catch(function (error) {
console.error('UNHANDLED EXCEPTION:', error.stack);