From 1b4f06e5115a472fb6c6775d255938905755ec6e Mon Sep 17 00:00:00 2001 From: dzdidi Date: Wed, 24 Jan 2024 10:50:37 +0000 Subject: [PATCH] tmp commit1 Signed-off-by: dzdidi --- src/rpc.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rpc.js b/src/rpc.js index 2e25c51..bf6de15 100644 --- a/src/rpc.js +++ b/src/rpc.js @@ -43,7 +43,7 @@ module.exports = class RPC { } pushHandler (req) { - console.error('pushHandler is to be implemented') + console.error('pushHandler is to be implemented', req.toString()) const { url, repo, key, branch } = this.parsePushCommand(req) console.error('url', url) console.error('repo', repo) @@ -52,7 +52,6 @@ module.exports = class RPC { // TODO: check ACL // collect stdout to buffer and return it // const process = spawn('git', ['fetch', url, `${branch}:${branch}`], { env: { GIT_DIR: getCodePath(name) } }) - console.error('req', req.toString()) console.error('pushHandler not implemented') }