diff --git a/fixtures/eslint-v6/build.mjs b/fixtures/eslint-v6/build.mjs index ebcea15190..e0dd355ba4 100644 --- a/fixtures/eslint-v6/build.mjs +++ b/fixtures/eslint-v6/build.mjs @@ -1,12 +1,13 @@ #!/usr/bin/env node -import {exec} from 'node:child_process'; +import {execSync} from 'node:child_process'; import {dirname, resolve} from 'node:path'; import {fileURLToPath} from 'node:url'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); -exec('yarn build -r stable eslint-plugin-react-hooks', { +execSync('yarn build -r stable eslint-plugin-react-hooks', { cwd: resolve(__dirname, '..', '..'), + stdio: 'inherit', }); diff --git a/fixtures/eslint-v7/build.mjs b/fixtures/eslint-v7/build.mjs index ebcea15190..e0dd355ba4 100644 --- a/fixtures/eslint-v7/build.mjs +++ b/fixtures/eslint-v7/build.mjs @@ -1,12 +1,13 @@ #!/usr/bin/env node -import {exec} from 'node:child_process'; +import {execSync} from 'node:child_process'; import {dirname, resolve} from 'node:path'; import {fileURLToPath} from 'node:url'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); -exec('yarn build -r stable eslint-plugin-react-hooks', { +execSync('yarn build -r stable eslint-plugin-react-hooks', { cwd: resolve(__dirname, '..', '..'), + stdio: 'inherit', }); diff --git a/fixtures/eslint-v8/build.mjs b/fixtures/eslint-v8/build.mjs index ebcea15190..e0dd355ba4 100644 --- a/fixtures/eslint-v8/build.mjs +++ b/fixtures/eslint-v8/build.mjs @@ -1,12 +1,13 @@ #!/usr/bin/env node -import {exec} from 'node:child_process'; +import {execSync} from 'node:child_process'; import {dirname, resolve} from 'node:path'; import {fileURLToPath} from 'node:url'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); -exec('yarn build -r stable eslint-plugin-react-hooks', { +execSync('yarn build -r stable eslint-plugin-react-hooks', { cwd: resolve(__dirname, '..', '..'), + stdio: 'inherit', }); diff --git a/fixtures/eslint-v9/build.mjs b/fixtures/eslint-v9/build.mjs index ebcea15190..e0dd355ba4 100644 --- a/fixtures/eslint-v9/build.mjs +++ b/fixtures/eslint-v9/build.mjs @@ -1,12 +1,13 @@ #!/usr/bin/env node -import {exec} from 'node:child_process'; +import {execSync} from 'node:child_process'; import {dirname, resolve} from 'node:path'; import {fileURLToPath} from 'node:url'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); -exec('yarn build -r stable eslint-plugin-react-hooks', { +execSync('yarn build -r stable eslint-plugin-react-hooks', { cwd: resolve(__dirname, '..', '..'), + stdio: 'inherit', });