UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

13 lines (12 loc) 557 B
/** * Git parses any argument beginning with `-` as an option rather than a * revision, so a flag-shaped revision could smuggle options such as * `--upload-pack` into the git commands Nx runs. */ export declare function assertValidGitRevision(revision: string): void; /** * For refs Nx itself recorded from `git rev-parse` and later read back off * disk, where anything other than a commit sha means the value was tampered * with rather than that the user picked an unusual revision. */ export declare function assertValidGitSha(sha: string): void;