From 8ff030b15bc4ffe322f6f8a3ca1627cb842d1ef7 Mon Sep 17 00:00:00 2001 From: Art <4998038+Alorel@users.noreply.github.com> Date: Sat, 23 Sep 2023 18:55:44 +0100 Subject: [PATCH] ux: Don't output stderr while checking for installed version --- .github/semantic.yml | 1 + .github/workflows/core.yml | 1 + index.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/semantic.yml b/.github/semantic.yml index 823d316..9bd999c 100644 --- a/.github/semantic.yml +++ b/.github/semantic.yml @@ -13,5 +13,6 @@ types: - deps - deps-dev - perf + - ux scopes: - dev diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index cc52a79..09b9646 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -30,6 +30,7 @@ jobs: fix: Bug Fixes deps: Dependency updates perf: Performance + ux: UX trivial-types: | chore: Maintenance ci: CI & Build diff --git a/index.js b/index.js index 012ce0a..d7d93a5 100644 --- a/index.js +++ b/index.js @@ -56,7 +56,7 @@ function getInstalledVersion(pkg, binaryName) { const res = spawnSync(app, args, { encoding: 'utf8', env: process.env, - stdio: ['ignore', 'pipe', 'inherit'], + stdio: ['ignore', 'pipe', 'ignore'], }); if (res.status !== 0) {