UNPKG

@atomist/sdm

Version:

Atomist Software Delivery Machine SDK

10 lines 442 B
/** * Use the Git CLI to fetch the previous version of the spec. If the * previous does not exist or an error occurs fetching it, an empty * string is returned. * * @param baseDir Project repository base directory * @param specPath Path to spec file relative to `baseDir` */ export declare function previousSpecVersion(baseDir: string, specPath: string, sha: string): Promise<string>; //# sourceMappingURL=previousSpecVersion.d.ts.map