diff --git a/src/util/git.js b/src/util/git.js index 6d6f730..fdde39d 100644 --- a/src/util/git.js +++ b/src/util/git.js @@ -41,7 +41,7 @@ const spawnGitCommand = pify((args, cb) => { git.stderr.on('data', (buf) => bufs.push(buf)); git.on('close', (code) => { if (code) { - const msg = Buffer.concat(bufs).toString() || `git ${args.join('')} - exit code: ${code}`; + const msg = Buffer.concat(bufs).toString() || `git ${args.join(' ')} - exit code: ${code}`; cb(new Error(msg)); } else { cb(null);