diff --git a/package.json b/package.json index c3af3fbf..85115491 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ }, "scripts": { "build": "tsc -p tsconfig.json && cp src/server/index.html dist/server/index.html && chmod +x dist/cli/cli.js && node scripts/inject-version.js", + "test": "npm run build && node --test dist/**/*.test.js", "start": "node dist/cli/cli.js" }, "dependencies": { diff --git a/src/installer/status.ts b/src/installer/status.ts index fd8e0cb3..0713c8b7 100644 --- a/src/installer/status.ts +++ b/src/installer/status.ts @@ -66,7 +66,7 @@ export function getWorkflowStatus(query: string): WorkflowStatusResult { status: "not_found", message: available.length ? `No run matching "${query}". Recent runs:\n${available.join("\n")}` - : "No workflow runs found.", + : `No run matching "${query}". No workflow runs found.`, }; } @@ -100,7 +100,7 @@ export async function stopWorkflow(query: string): Promise { status: "not_found", message: available.length ? `No run matching "${query}". Recent runs:\n${available.join("\n")}` - : "No workflow runs found.", + : `No run matching "${query}". No workflow runs found.`, }; }