diff options
| author | Adam Malczewski <[email protected]> | 2026-06-27 01:09:39 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-27 01:09:39 +0900 |
| commit | 61e45e60d699ed1ca46f94a8f181c92a940317c6 (patch) | |
| tree | 2892d9773c5a8e367e1e58cdb1e88d9c6ad3fe6d /packages/trace-store/src/cli.ts | |
| parent | 63c7e64532e85e0bbdd6d9ac6825d8f86be98e7a (diff) | |
| parent | 727c98c9dae516a2070eb950410314380a20c974 (diff) | |
| download | dispatch-61e45e60d699ed1ca46f94a8f181c92a940317c6.tar.gz dispatch-61e45e60d699ed1ca46f94a8f181c92a940317c6.zip | |
Merge branch 'feature/indent-change' into dev
Diffstat (limited to 'packages/trace-store/src/cli.ts')
| -rw-r--r-- | packages/trace-store/src/cli.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/trace-store/src/cli.ts b/packages/trace-store/src/cli.ts index 9092c91..80a5c8b 100644 --- a/packages/trace-store/src/cli.ts +++ b/packages/trace-store/src/cli.ts @@ -2,15 +2,15 @@ import { createTraceStore } from "./store.js"; const turnId = process.argv[2]; if (turnId === undefined) { - console.error("Usage: bun packages/trace-store/src/cli.ts <turnId> [dbPath]"); - process.exit(1); + console.error("Usage: bun packages/trace-store/src/cli.ts <turnId> [dbPath]"); + process.exit(1); } const dbPath = process.argv[3] ?? process.env.TRACE_DB_PATH ?? "./.dispatch-data/traces.db"; const store = createTraceStore({ path: dbPath }); try { - const output = store.easyView(turnId); - console.log(output); + const output = store.easyView(turnId); + console.log(output); } finally { - store.close(); + store.close(); } |
