Skip to content

PromptScript API


Function: resolvePath()

resolvePath(path, options): string

Defined in: core/src/utils/path.ts:100

Resolve a path to a filesystem location.

Parameters

path

string

Path to resolve

options

Resolution options

basePath?

string

registryPath

string

Returns

string

Resolved filesystem path