We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 900ad3c commit e471fb2Copy full SHA for e471fb2
backend/server.js
@@ -706,7 +706,7 @@ var gitPullCourseOrigin = function(callback) {
706
});
707
708
ps.stdout.on('close', function(code) {
709
- if (code) return callback("git exited with non-zero exit code " + code);
+ if (code) return callback(new Error("git exited with non-zero exit code " + code));
710
callback(null, Buffer.concat(bufList).toString('utf8').trim());
711
712
};
0 commit comments