Skip to content

Commit cdf1813

Browse files
committed
Исправлена ошибка сборки на linux
1 parent 79159af commit cdf1813

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
oscript_version: [1.3.0, 1.5.0, 1.8.1] # fixme вернуть dev
11+
oscript_version: [lts, stable, dev]
1212
os: [macOS-latest, ubuntu-latest, windows-latest]
1313
name: check oscript
1414
steps:

dist/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8703,7 +8703,9 @@ async function run() {
87038703
const options = {};
87048704
options.listeners = {
87058705
stdout: (data) => {
8706-
output += data.toString();
8706+
if (data.toString().includes('ovm')) {
8707+
output += data.toString();
8708+
}
87078709
}
87088710
};
87098711
await exec.exec('ovm', ['which', 'current'], options);

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ async function run() {
5757
const options = {};
5858
options.listeners = {
5959
stdout: (data) => {
60-
output += data.toString();
60+
if (data.toString().includes('ovm')) {
61+
output += data.toString();
62+
}
6163
}
6264
};
6365
await exec.exec('ovm', ['which', 'current'], options);

0 commit comments

Comments
 (0)