File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed
Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 11const basePath = process . argv [ 2 ] ;
2- require ( "child_process" ) . execSync ( `npm install --prefix generator` , { stdio : 'inherit' } ) ;
3- require ( "child_process" ) . execSync ( `npm run postprocessor ${ basePath } --prefix generator` , { stdio : 'inherit' } ) ;
4- require ( "child_process" ) . execSync ( `npm install --prefix tools` , { stdio : 'inherit' } ) ;
5- require ( "child_process" ) . execSync ( `npm run test --prefix tools` , { stdio : 'inherit' } ) ;
2+ require ( "child_process" ) . execSync ( `npm install --prefix generator` , {
3+ stdio : "inherit" ,
4+ } ) ;
5+ require ( "child_process" ) . execSync (
6+ `npm run postprocessor ${ basePath } --prefix generator` ,
7+ { stdio : "inherit" }
8+ ) ;
9+ try {
10+ require ( "child_process" ) . execSync ( `npm install --prefix tools` , {
11+ stdio : "inherit" ,
12+ } ) ;
13+ require ( "child_process" ) . execSync ( `npm run test --prefix tools` , {
14+ stdio : "inherit" ,
15+ } ) ;
16+ } catch ( e ) {
17+ console . error ( e ) ;
18+ }
You can’t perform that action at this time.
0 commit comments