Commit 19fb09ae authored by eric sciple's avatar eric sciple
Browse files

.

parent bb56c856
Loading
Loading
Loading
Loading
+2 −2
Changes for dist/index.js: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -5101,8 +5101,8 @@ function getSource(settings) {
            yield prepareExistingDirectory(git, settings.repositoryPath, repositoryUrl, settings.clean);
        }
        if (!git || `${1}` == '1') {
            core.info(`Add git Git version ${gitCommandManager.MinimumGitVersion} was not found in the PATH.`);
            core.info(`Instead downloading the repository files using the GitHub REST API.`);
            core.info(`Downloading the repository files using the GitHub REST API`);
            core.info(`To create a local repository instead, add Git ${gitCommandManager.MinimumGitVersion} or higher to the PATH`);
            yield githubApiHelper.downloadRepository(settings.accessToken, settings.repositoryOwner, settings.repositoryName, settings.ref, settings.commit, settings.repositoryPath);
        }
        else {
+2 −4
Changes for src/git-source-provider.ts: 2 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -79,11 +79,9 @@ export async function getSource(settings: ISourceSettings): Promise<void> {
  }

  if (!git || `${1}` == '1') {
    core.info(`Downloading the repository files using the GitHub REST API`)
    core.info(
      `Add git Git version ${gitCommandManager.MinimumGitVersion} was not found in the PATH.`
    )
    core.info(
      `Instead downloading the repository files using the GitHub REST API.`
      `To create a local repository instead, add Git ${gitCommandManager.MinimumGitVersion} or higher to the PATH`
    )
    await githubApiHelper.downloadRepository(
      settings.accessToken,