commit 46875d062e2b8aa4f832e11f653cf19d2f6c2364 parent 64d41dc61f01c5e262ea5fb32b220cd5eba84c94 Author: Henry Unite <unitehenry@gmail.com> Date: Sun, 18 Oct 2026 19:10:09 +0000 chore: typecheck Diffstat:
| M | index.ts | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.ts b/index.ts @@ -32,7 +32,7 @@ function isGitEnabled(dir: string): boolean { } } -function getRepoRoot(dir: string): string { +function getRepoRoot(dir: string): string | null { try { const result = spawnSync( "git", @@ -92,7 +92,7 @@ export default Plugin.define({ `[openpod] needs move for project dir ${dir}? ${needsMove} (target=${target})`, ); - if (!gitEnabeld) { + if (!gitEnabled) { console.log(`[openpod] git is not enabled`); return; }