Skip to content
This repository was archived by the owner on Jun 6, 2023. It is now read-only.

Commit 17f8bfe

Browse files
exdxsanfilip
authored andcommitted
mute stderr
mute stderr
1 parent 969f8dc commit 17f8bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jobs/create.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function create(params, cb) {
330330
return
331331
}
332332
try {
333-
var revision = child_process.execSync('git rev-parse --short HEAD', {cwd:params.workspace})
333+
var revision = child_process.execSync('git rev-parse --short HEAD', {cwd:params.workspace, stdio:['pipe', 'pipe', 'ignore']})
334334
.toString().trim();
335335
} catch (error) {
336336
//pass - git issue

0 commit comments

Comments
 (0)