File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22const { options, aliases } = require ( 'internal/options' ) ;
33
4+ const {
5+ prepareMainThreadExecution
6+ } = require ( 'internal/bootstrap/pre_execution' ) ;
7+
48function print ( stream ) {
59 const all_opts = [ ...options . keys ( ) , ...aliases . keys ( ) ] ;
610
@@ -18,6 +22,8 @@ function print(stream) {
1822complete -F _node_complete node node_g` ) ;
1923}
2024
25+ prepareMainThreadExecution ( ) ;
26+
2127markBootstrapComplete ( ) ;
2228
2329print ( process . stdout ) ;
Original file line number Diff line number Diff line change 33const { types } = internalBinding ( 'options' ) ;
44const hasCrypto = Boolean ( process . versions . openssl ) ;
55
6+ const {
7+ prepareMainThreadExecution
8+ } = require ( 'internal/bootstrap/pre_execution' ) ;
9+
610const typeLookup = [ ] ;
711for ( const key of Object . keys ( types ) )
812 typeLookup [ types [ key ] ] = key ;
@@ -171,6 +175,8 @@ function print(stream) {
171175 stream . write ( '\nDocumentation can be found at https://nodejs.org/\n' ) ;
172176}
173177
178+ prepareMainThreadExecution ( ) ;
179+
174180markBootstrapComplete ( ) ;
175181
176182print ( process . stdout ) ;
Original file line number Diff line number Diff line change 11'use strict' ;
22
3+ const {
4+ prepareMainThreadExecution
5+ } = require ( 'internal/bootstrap/pre_execution' ) ;
6+
7+ prepareMainThreadExecution ( ) ;
38markBootstrapComplete ( ) ;
49require ( 'internal/v8_prof_processor' ) ;
You can’t perform that action at this time.
0 commit comments