You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/08/23 01:48:49 UTC
(maka) 01/01: style(core): apply biome formatting to dev single-instance contract
This is an automated email from the ASF dual-hosted git repository.
Astro-Han pushed a commit to branch refactor/desktop-dev-shared-data
in repository https://gitbox.apache.org/repos/asf/maka.git
commit 9e8646f2384b15ccb4e9b1461f0301ad50c8718a
Author: AstroHan <le...@outlook.com>
AuthorDate: Sun Aug 23 09:48:39 2026 +0800
style(core): apply biome formatting to dev single-instance contract
---
packages/core/src/__tests__/dev-single-instance.test.ts | 5 ++++-
packages/core/src/dev-single-instance.ts | 3 ++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/packages/core/src/__tests__/dev-single-instance.test.ts b/packages/core/src/__tests__/dev-single-instance.test.ts
index cf95c4fc7..77f737ee2 100644
--- a/packages/core/src/__tests__/dev-single-instance.test.ts
+++ b/packages/core/src/__tests__/dev-single-instance.test.ts
@@ -18,7 +18,10 @@
*/
import assert from 'node:assert/strict';
import { test } from 'node:test';
-import { DEV_CONFLICT_HANDLED_BY_LAUNCHER_FLAG, shouldShowLoserDialog } from '../dev-single-instance.js';
+import {
+ DEV_CONFLICT_HANDLED_BY_LAUNCHER_FLAG,
+ shouldShowLoserDialog,
+} from '../dev-single-instance.js';
test('shouldShowLoserDialog defaults to showing; the launcher flag silences', () => {
assert.equal(shouldShowLoserDialog([]), true);
diff --git a/packages/core/src/dev-single-instance.ts b/packages/core/src/dev-single-instance.ts
index f177a17a5..1282bf7b1 100644
--- a/packages/core/src/dev-single-instance.ts
+++ b/packages/core/src/dev-single-instance.ts
@@ -24,7 +24,8 @@
// prints DEV_LOSER_LOG_MARKER (which the launcher reads from the dev log).
export const DEV_LOSER_EXIT_CODE = 42 as const;
-export const DEV_CONFLICT_HANDLED_BY_LAUNCHER_FLAG = '--maka-dev-conflict-handled-by-launcher' as const;
+export const DEV_CONFLICT_HANDLED_BY_LAUNCHER_FLAG =
+ '--maka-dev-conflict-handled-by-launcher' as const;
/**
* Whether the dev loser should show the native dialog: default yes; the flag
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org