Compare commits

...

5 Commits

Author SHA1 Message Date
Tatyana Kostromskaya bab023d7a2 . 2023-09-05 14:37:26 +00:00
Tatyana Kostromskaya 691545e3dc . 2023-09-05 14:34:17 +00:00
Tatyana Kostromskaya 276befb35c . 2023-09-05 14:33:16 +00:00
Tatyana Kostromskaya e1b7fe15cf . 2023-09-05 14:30:54 +00:00
Tatyana Kostromskaya 64ffef1ea6 . 2023-09-05 14:24:23 +00:00
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View File

@ -1260,6 +1260,7 @@ function getSource(settings) {
else {
fetchOptions.fetchDepth = settings.fetchDepth;
fetchOptions.fetchTags = settings.fetchTags;
fetchOptions.showProgress = settings.showProgress;
const refSpec = refHelper.getRefSpec(settings.ref, settings.commit);
yield git.fetch(refSpec, fetchOptions);
}

View File

@ -177,6 +177,7 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
} else {
fetchOptions.fetchDepth = settings.fetchDepth
fetchOptions.fetchTags = settings.fetchTags
fetchOptions.showProgress = settings.showProgress
const refSpec = refHelper.getRefSpec(settings.ref, settings.commit)
await git.fetch(refSpec, fetchOptions)
}