Skip to content

Commit 1baeae6

Browse files
committed
ci: ignore ephemeral jack default-device parity noise
1 parent 660f950 commit 1baeae6

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

ci/parity/check.js

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,20 @@ function projectDefaultDevice(host, kind) {
194194

195195
function sortHosts(hosts) {
196196
return [...hosts]
197-
.map((host) => ({
198-
id: host.id,
199-
devices_ok: host.devices_ok,
200-
default_input_device: projectDefaultDevice(host, 'input'),
201-
default_output_device: projectDefaultDevice(host, 'output'),
202-
}))
197+
.map((host) => {
198+
if (host.id === 'jack') {
199+
return {
200+
id: host.id,
201+
devices_ok: host.devices_ok,
202+
};
203+
}
204+
return {
205+
id: host.id,
206+
devices_ok: host.devices_ok,
207+
default_input_device: projectDefaultDevice(host, 'input'),
208+
default_output_device: projectDefaultDevice(host, 'output'),
209+
};
210+
})
203211
.sort((a, b) => a.id.localeCompare(b.id, 'en'));
204212
}
205213

0 commit comments

Comments
 (0)