diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index b0c7aa1..7b7f7cb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - oscript_version: [1.3.0, 1.5.0, 1.8.1] # fixme вернуть dev + oscript_version: [lts, stable, dev] os: [macOS-latest, ubuntu-latest, windows-latest] name: check oscript steps: diff --git a/dist/index.js b/dist/index.js index a6b25f6..eaee9d9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8703,7 +8703,9 @@ async function run() { const options = {}; options.listeners = { stdout: (data) => { - output += data.toString(); + if (data.toString().includes('ovm')) { + output += data.toString(); + } } }; await exec.exec('ovm', ['which', 'current'], options); diff --git a/index.js b/index.js index f354b24..1b4e21a 100644 --- a/index.js +++ b/index.js @@ -57,7 +57,9 @@ async function run() { const options = {}; options.listeners = { stdout: (data) => { - output += data.toString(); + if (data.toString().includes('ovm')) { + output += data.toString(); + } } }; await exec.exec('ovm', ['which', 'current'], options);