From ea04a1b78858dbe2677ef142b13ed07e3b4004ec Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 1 Sep 2019 13:49:11 +0200 Subject: [PATCH] fix(core): update --- ts/manager.git/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ts/manager.git/index.ts b/ts/manager.git/index.ts index 258e516..a217c74 100644 --- a/ts/manager.git/index.ts +++ b/ts/manager.git/index.ts @@ -32,7 +32,7 @@ export class NpmciGitManager { public mirror = async () => { const githubToken = process.env.NPMCI_GIT_GITHUBTOKEN; const githubUser = process.env.NPMCI_GIT_GITHUBGROUP || this.npmciRef.npmciEnv.repo.user; - const githubRepo = process.env.NPMCI_GIT_GITHUB || this.npmciRef.npmciEnv.repo; + const githubRepo = process.env.NPMCI_GIT_GITHUB || this.npmciRef.npmciEnv.repo.repo; if ( this.npmciRef.npmciConfig.getConfig().projectInfo.npm.packageJson.private === true || this.npmciRef.npmciConfig.getConfig().npmAccessLevel === 'private' @@ -50,7 +50,6 @@ export class NpmciGitManager { // plugins.smartgit.GitRepo; // add the mirror - console.log(`git remote add mirror https://${githubToken}@github.com/${githubUser}/${githubRepo}.git`); await bash( `git remote add mirror https://${githubToken}@github.com/${githubUser}/${githubRepo}.git` );