Skip to content

Commit 58ba61d

Browse files
committed
chore: keep the dev launch config out of this PR, and silence a lint warning
`.claude/` is gitignored (while `launch.json` is tracked), so its local desktop-dev tweak slipped in through `git add -u` — reverted here, it stays a local change. Also puts a comment in `deferred()`'s placeholder so it stops tripping noEmptyBlockStatements.
1 parent 43c23e8 commit 58ba61d

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.claude/launch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"name": "desktop-dev",
1313
"runtimeExecutable": "npm",
1414
"runtimeArgs": ["run", "dev", "--", "--port", "5201", "--strictPort"],
15-
"port": 5201
15+
"port": 5201,
16+
"env": { "NO_ELECTRON": "1" }
1617
},
1718
{
1819
"name": "v4preview",

src/lib/ai-edition/store/transcriptionStore.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ function transcriptFor(assetId: string): AxcutTranscript {
7878

7979
/** A promise plus a 0-arg release, so a mocked run can be held open mid-flight. */
8080
function deferred(): { promise: Promise<void>; release: () => void } {
81-
let release: () => void = () => {};
81+
let release: () => void = () => {
82+
// Replaced synchronously by the executor below, before this can be called.
83+
};
8284
const promise = new Promise<void>((resolve) => {
8385
release = () => resolve();
8486
});

0 commit comments

Comments
 (0)