From 164a4e2bc134f7af9241fc9ad36245e7130b0f6a Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Wed, 3 Sep 2025 06:13:20 +0300 Subject: [PATCH] Mark ENOTFOUND in red --- scripts/commands/playlist/test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/commands/playlist/test.ts b/scripts/commands/playlist/test.ts index c8a9f7f17d..5fae0920ac 100644 --- a/scripts/commands/playlist/test.ts +++ b/scripts/commands/playlist/test.ts @@ -88,7 +88,7 @@ async function runTest(stream: Stream) { const result = await tester.test(stream) let status = '' - const errorStatusCodes = ['HTTP_NOT_FOUND'] + const errorStatusCodes = ['ENOTFOUND'] if (result.status.ok) status = chalk.green('OK') else if (errorStatusCodes.includes(result.status.code)) { status = chalk.red(result.status.code) @@ -157,4 +157,3 @@ function onFinish(error: any) { process.exit(0) } -