Skip to content

craft-hub / normalizeProjectSubdir

Function: normalizeProjectSubdir()

normalizeProjectSubdir(input): string | undefined

Defined in: packages/craft-hub/src/project-reference.ts:41

Validate and normalize an optional repository-relative Project subdirectory.

Parameters

input

string | undefined

Returns

string | undefined

Released under the MIT License.