diff --git a/index.js b/index.js index fb36e7a..bf577c2 100644 --- a/index.js +++ b/index.js @@ -58,7 +58,7 @@ function loadConfig () { function getEnvIdFromBranch () { try { - let branch = sh.exec('git name-rev HEAD --name-only').stdout + let branch = sh.exec('git name-rev HEAD --name-only', {silent: true}).stdout branch = _.last(_.split(branch, '/'))