We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a51617 commit 9d5a079Copy full SHA for 9d5a079
src/api/kit.ts
@@ -15,7 +15,6 @@ import {
15
resolveScriptToCommand,
16
run,
17
getKenvs,
18
- getLastSlashSeparated,
19
} from "../core/utils.js"
20
import {
21
getScripts,
@@ -665,7 +664,7 @@ export let selectKenv = async (
665
664
let kenvChoices = [
666
homeKenv,
667
...kenvs.map(p => {
668
- let name = getLastSlashSeparated(p, 1)
+ let name = path.basename(p)
669
return {
670
name,
671
description: p,
src/cli/kenv-pull.ts
@@ -1,6 +1,6 @@
1
// Description: Git Pull Kenv Repo
2
3
-let { dirPath: kPath } = await selectKenv()
+let { dirPath: kPath } = await selectKenv(/^ignore$/)
4
5
try {
6
cd(kPath)
0 commit comments