From ab458b58d26a16c041d4005a4cb7ab1f9c634483 Mon Sep 17 00:00:00 2001 From: Andrey Epifancev Date: Sat, 24 Oct 2026 21:14:58 +0400 Subject: [PATCH] =?UTF-8?q?fix(dsh):=20=D1=8F=D1=81=D0=BD=D0=BE=D0=B5=20?= =?UTF-8?q?=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE?= =?UTF-8?q?=20=D0=BD=D0=B5=D0=B2=D0=B0=D0=BB=D0=B8=D0=B4=D0=BD=D0=BE=D0=BC?= =?UTF-8?q?=20=D0=B8=D1=81=D1=82=D0=BE=D1=87=D0=BD=D0=B8=D0=BA=D0=B5=20(#4?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dsh/install.sh | 2 +- dsh/tests/install.test.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dsh/install.sh b/dsh/install.sh index 050157e..2e7b7a2 100755 --- a/dsh/install.sh +++ b/dsh/install.sh @@ -138,7 +138,7 @@ explicit_source_name() { } report_invalid_explicit_source() { - echo "FAIL: explicit superpowers source $(explicit_source_name) has no using-superpowers/SKILL.md (expected /skills/... or /...)" >&2 + echo "FAIL: explicit superpowers source is invalid: $(explicit_source_name) has no using-superpowers/SKILL.md (expected /skills/... or /...)" >&2 } check() { diff --git a/dsh/tests/install.test.mjs b/dsh/tests/install.test.mjs index ea06e5b..5922c75 100644 --- a/dsh/tests/install.test.mjs +++ b/dsh/tests/install.test.mjs @@ -231,7 +231,7 @@ test('an invalid explicit source fails without touching the legacy cache', () => const run = runInstaller(home, ['--skills', '--superpowers-from', empty]) const out = run.stdout + run.stderr assert.equal(run.status, 1, out) - assert.match(out, /FAIL: explicit superpowers source .* has no using-superpowers\/SKILL\.md/) + assert.match(out, /FAIL: explicit superpowers source is invalid: .* has no using-superpowers\/SKILL\.md/) assert.equal(existsSync(join(home, '.dsh', 'skills', 'brainstorming')), false) } finally { cleanup(home)