(commits: string[] = [])
| 11 | } |
| 12 | |
| 13 | export const loadCommits = async (commits: string[] = []): Promise<void> => { |
| 14 | if (commits && commits.length) { |
| 15 | // load the current list of commits for validation |
| 16 | for (const commit of commits) { |
| 17 | const commitExists = await verifyCommitUnique(commit) |
| 18 | if (!commitExists) { |
| 19 | await git.loadCommit(commit) |
| 20 | } |
| 21 | } |
| 22 | } |
| 23 | } |
no test coverage detected