Further clean Sonar: merge base RUN, strip comments, node imports
This commit is contained in:
parent
405e801851
commit
397871b012
4 changed files with 2 additions and 17 deletions
|
|
@ -6,7 +6,6 @@ const gitBin = process.env.GIT_BIN || '/usr/bin/git';
|
|||
const runGit = (...args) => new Promise((resolve, reject) => {
|
||||
execFile(gitBin, args, { cwd: process.cwd() }, (error, stdout, stderr) => {
|
||||
if (stderr) console.error(`stderr: ${stderr}`);
|
||||
// if (stdout) console.log(`stdout: ${stdout}`);
|
||||
if (error) {
|
||||
console.log(`error: ${error.message}`);
|
||||
if (error.code === 'ENOENT' || error.message.includes('command not found')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue