From 75864c073b7d055e614a8a6b603ece2b7f04aad5 Mon Sep 17 00:00:00 2001 From: dzdidi Date: Wed, 24 Jan 2024 11:48:10 +0000 Subject: [PATCH] no write res to git Signed-off-by: dzdidi --- src/git-remote-pear.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/git-remote-pear.js b/src/git-remote-pear.js index 00a1f00..e6008c5 100755 --- a/src/git-remote-pear.js +++ b/src/git-remote-pear.js @@ -104,9 +104,7 @@ async function talkToGit (refs, drive, repoName, rpc) { home.shareAppFolder(name) } - console.error('dst', JSON.stringify(dst)) dst = dst.replace('refs/heads/', '').replace('\n\n', '') - console.error('dst', JSON.stringify(dst)) await git.push(dst) let command @@ -125,7 +123,7 @@ async function talkToGit (refs, drive, repoName, rpc) { // home.removeDaemonPid() console.error('res', res.toString()) - process.stdout.write(res.toString()) + // process.stdout.write(res.toString()) process.stdout.write('\n\n') process.exit(0) } else if (chunk && chunk.search(/^list/) !== -1) { // list && list for-push