From cd6fedcaa2f2f59eb70eac3d553db80da75d27cd Mon Sep 17 00:00:00 2001 From: "romain.lenzotti" Date: Thu, 30 Aug 2018 00:03:05 +0200 Subject: [PATCH] fix: Git pushSync --- src/exec/index.js | 1 + src/git/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/exec/index.js b/src/exec/index.js index 0a3ab90..e7d181b 100644 --- a/src/exec/index.js +++ b/src/exec/index.js @@ -1,4 +1,5 @@ require('any-observable/register/rxjs-all'); // eslint-disable-line import/no-unassigned-import +require('rxjs/add/operator/merge'); const Observable = require('any-observable'); const streamToObservable = require('stream-to-observable'); const execa = require('execa'); diff --git a/src/git/index.js b/src/git/index.js index 4fb9fa0..e79c65a 100644 --- a/src/git/index.js +++ b/src/git/index.js @@ -140,7 +140,7 @@ module.exports = { * @param args */ pushSync(...args) { - return gitAsync('push', ...args); + return gitSync('push', ...args); }, /** *