From fca00ffcf8b14c7d8fbc77a85ed83b3ddf8674eb Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Fri, 4 Oct 2019 15:18:51 +0200 Subject: [PATCH] fix(core): update --- ts/manager.git/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ts/manager.git/index.ts b/ts/manager.git/index.ts index b0feae9..adbbfa3 100644 --- a/ts/manager.git/index.ts +++ b/ts/manager.git/index.ts @@ -54,14 +54,14 @@ export class NpmciGitManager { await bash(`git fetch`); // add the mirror - await bash( + await bashNoError( `git remote add mirror https://${githubToken}@github.com/${githubUser}/${githubRepo}.git` ); - await bash(`git push mirror --all`); - await bash(`git checkout origin/master`); - await bash(`git push mirror master`); + await bashNoError(`git push mirror --all`); + await bashNoError(`git checkout origin/master`); + await bashNoError(`git push mirror master`); logger.log('ok', 'pushed all branches to mirror!'); - await bash(`git push mirror --tags`); + await bashNoError(`git push mirror --tags`); logger.log('ok', 'pushed all tags to mirror!'); // remove old mirrors await bashNoError('git remote rm mirror');