Skip to content

validateForkTarget

validateForkTarget(value): Field<{ name: string; repo: string; }>

Defined in: src/validate.ts:371

Validate a fork target submitted by the user. Derives the target folder name from the last slug segment. Returns { repo, name } where repo is the argument passed to gh repo fork and name is the destination folder.

unknown

Field<{ name: string; repo: string; }>