commit 526831aef9e3c79f53f8a51cc34c8eefdba1c1c5
parent 5368a261b7beda8dd754a80c4f0c1f236206e053
Author: Henry Unite <unitehenry@gmail.com>
Date: Sat, 24 Oct 2026 23:13:59 +0000
chore: format with prettier (via scripts/format)
Diffstat:
3 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
@@ -1,9 +1,8 @@
-
- [REFACTOR] setup.ts -> /context
- - log.ts - writeLog() -> log()
- - command.ts - isCommandAvailable()
- - cleanup.ts - cleanupOpenpod() -> cleanup
- - index.ts registerSetup() -> init()
+ - log.ts - writeLog() -> log()
+ - command.ts - isCommandAvailable()
+ - cleanup.ts - cleanupOpenpod() -> cleanup
+ - index.ts registerSetup() -> init()
- [REFACTOR] OpenpodContext
- writeLog -> log
- openpodRoot
diff --git a/context/cleanup.ts b/context/cleanup.ts
@@ -8,10 +8,7 @@ export type Cleanup = {
execute: (sessionID: string) => Promise<void>;
};
-export function initCleanup(
- openpodRoot: string,
- logger: Logger,
-): Cleanup {
+export function initCleanup(openpodRoot: string, logger: Logger): Cleanup {
async function execute(sessionID: string): Promise<void> {
if (!sessionID || typeof sessionID !== "string") return;
diff --git a/prompt.ts b/prompt.ts
@@ -113,7 +113,9 @@ export async function registerPrompt(
const ref = headRef.stdout.trim();
const branch = ref.replace(/^refs\/remotes\/origin\//, "");
if (branch) {
- logger.log(`cloning default branch ${branch} (from local origin/HEAD)`);
+ logger.log(
+ `cloning default branch ${branch} (from local origin/HEAD)`,
+ );
args = ["--branch", branch, source, target];
}
} else {