Skip to content

Commit

Permalink
apply changes correctly from master
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam committed Dec 17, 2019
1 parent bd7efad commit 55b49d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/apm.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ const ROOT_DIR = join(__dirname, '..');

function gitRev() {
try {
return execSync('git rev-parse --short HEAD', { encoding: 'utf-8' }).trim();
return execSync('git rev-parse --short HEAD', {
encoding: 'utf-8',
stdio: ['ignore', 'pipe', 'ignore'],
}).trim();
} catch (e) {
return null;
}
Expand Down

0 comments on commit 55b49d6

Please sign in to comment.