mirror of
https://github.com/aljazceru/gitpear.git
synced 2025-12-17 22:24:22 +01:00
@@ -55,7 +55,7 @@ module.exports = class RPC {
|
||||
// console.error('data:', JSON.stringify(data.toString()))
|
||||
// outBuffer = Buffer.concat([outBuffer, data])
|
||||
// })
|
||||
console.error('ARGS:', process.argv)
|
||||
console.error('ARGS:', 'git', ['fetch', url, `${branch}:${branch}`], { env: { GIT_DIR: home.getCodePath(repo) } })
|
||||
let errBuffer = Buffer.from('')
|
||||
process.stderr.on('data', data => {
|
||||
errBuffer = Buffer.concat([errBuffer, data])
|
||||
|
||||
Reference in New Issue
Block a user