MCPcopy Create free account
hub / github.com/arktypeio/arktype / resolveExplicitSkillTarget

Function resolveExplicitSkillTarget

ark/type/cli.ts:303–306  ·  view source on GitHub ↗
(cwd: string, targetDir: string)

Source from the content-addressed store, hash-verified

301}
302
303const resolveExplicitSkillTarget = (cwd: string, targetDir: string): string => {
304 const resolved = resolve(cwd, targetDir)
305 return basename(resolved) === "arktype" ? resolved : join(resolved, "arktype")
306}
307
308const prepareSkillInstall = (
309 projectRoot: string,

Callers 1

prepareSkillInstallFunction · 0.85

Calls 2

joinFunction · 0.85
resolveFunction · 0.70

Tested by

no test coverage detected