Commit c4551229 authored by eric sciple's avatar eric sciple
Browse files

.

parent 605b7eb9
Loading
Loading
Loading
Loading
+3 −3
Changes for dist/index.js: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -5225,7 +5225,7 @@ class GitAuthHelper {
    }
    removeGlobalAuth() {
        return __awaiter(this, void 0, void 0, function* () {
            core.info(`Unsetting HOME override`);
            core.debug(`Unsetting HOME override`);
            this.git.removeEnvironmentVariable('HOME');
            yield io.rmRF(this.temporaryHomePath);
        });
@@ -5886,7 +5886,7 @@ function getSource(settings) {
            }
            // Fix URL when using SSH
            if (settings.sshKey && initialRemoteUrl !== sshUrl) {
                core.startGroup('Updating the repository to use the SSH URL');
                core.startGroup('Updating the remote URL');
                yield git.setRemoteUrl(sshUrl);
                core.endGroup();
            }
@@ -7300,7 +7300,7 @@ function prepareExistingDirectory(git, repositoryPath, preferredRemoteUrl, allow
                }
                // Update to the preferred remote URL
                if (remoteUrl !== preferredRemoteUrl) {
                    core.startGroup('Setting the remote URL');
                    core.startGroup('Updating the remote URL');
                    yield git.setRemoteUrl(preferredRemoteUrl);
                    core.endGroup();
                }
+1 −1
Changes for src/git-auth-helper.ts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ class GitAuthHelper {
  }

  async removeGlobalAuth(): Promise<void> {
    core.info(`Unsetting HOME override`)
    core.debug(`Unsetting HOME override`)
    this.git.removeEnvironmentVariable('HOME')
    await io.rmRF(this.temporaryHomePath)
  }
+1 −1
Changes for src/git-directory-helper.ts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ export async function prepareExistingDirectory(

      // Update to the preferred remote URL
      if (remoteUrl !== preferredRemoteUrl) {
        core.startGroup('Setting the remote URL')
        core.startGroup('Updating the remote URL')
        await git.setRemoteUrl(preferredRemoteUrl)
        core.endGroup()
      }
+1 −1
Changes for src/git-source-provider.ts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {

    // Fix URL when using SSH
    if (settings.sshKey && initialRemoteUrl !== sshUrl) {
      core.startGroup('Updating the repository to use the SSH URL')
      core.startGroup('Updating the remote URL')
      await git.setRemoteUrl(sshUrl)
      core.endGroup()
    }