File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import { exec } from 'node:child_process' ;
3+ import { execSync } from 'node:child_process' ;
44import { dirname , resolve } from 'node:path' ;
55import { fileURLToPath } from 'node:url' ;
66
77const __filename = fileURLToPath ( import . meta. url ) ;
88const __dirname = dirname ( __filename ) ;
99
10- exec ( 'yarn build -r stable eslint-plugin-react-hooks' , {
10+ execSync ( 'yarn build -r stable eslint-plugin-react-hooks' , {
1111 cwd : resolve ( __dirname , '..' , '..' ) ,
12+ stdio : 'inherit' ,
1213} ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import { exec } from 'node:child_process' ;
3+ import { execSync } from 'node:child_process' ;
44import { dirname , resolve } from 'node:path' ;
55import { fileURLToPath } from 'node:url' ;
66
77const __filename = fileURLToPath ( import . meta. url ) ;
88const __dirname = dirname ( __filename ) ;
99
10- exec ( 'yarn build -r stable eslint-plugin-react-hooks' , {
10+ execSync ( 'yarn build -r stable eslint-plugin-react-hooks' , {
1111 cwd : resolve ( __dirname , '..' , '..' ) ,
12+ stdio : 'inherit' ,
1213} ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import { exec } from 'node:child_process' ;
3+ import { execSync } from 'node:child_process' ;
44import { dirname , resolve } from 'node:path' ;
55import { fileURLToPath } from 'node:url' ;
66
77const __filename = fileURLToPath ( import . meta. url ) ;
88const __dirname = dirname ( __filename ) ;
99
10- exec ( 'yarn build -r stable eslint-plugin-react-hooks' , {
10+ execSync ( 'yarn build -r stable eslint-plugin-react-hooks' , {
1111 cwd : resolve ( __dirname , '..' , '..' ) ,
12+ stdio : 'inherit' ,
1213} ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import { exec } from 'node:child_process' ;
3+ import { execSync } from 'node:child_process' ;
44import { dirname , resolve } from 'node:path' ;
55import { fileURLToPath } from 'node:url' ;
66
77const __filename = fileURLToPath ( import . meta. url ) ;
88const __dirname = dirname ( __filename ) ;
99
10- exec ( 'yarn build -r stable eslint-plugin-react-hooks' , {
10+ execSync ( 'yarn build -r stable eslint-plugin-react-hooks' , {
1111 cwd : resolve ( __dirname , '..' , '..' ) ,
12+ stdio : 'inherit' ,
1213} ) ;
You can’t perform that action at this time.
0 commit comments