This commit is contained in:
eric sciple
2019-12-09 17:01:19 -05:00
parent ad6dd29a96
commit 4af80cb867
4 changed files with 68 additions and 68 deletions

View File

@@ -6,7 +6,7 @@ import * as gitCommandManager from './git-command-manager'
import * as io from '@actions/io'
import * as path from 'path'
import * as refHelper from './ref-helper'
import * as repositoryApiHelper from './repository-api-helper'
import * as githubApiHelper from './github-api-helper'
import {IGitCommandManager} from './git-command-manager'
const authConfigKey = `http.https://github.com/.extraheader`
@@ -79,7 +79,7 @@ export async function getSource(settings: ISourceSettings): Promise<void> {
}
if (!git || `${1}` == '1') {
await repositoryApiHelper.download(
await githubApiHelper.downloadRepository(
settings.accessToken,
settings.repositoryOwner,
settings.repositoryName,