diff --git a/packages/kbn-repo-packages/modern/get_git_repo_root.js b/packages/kbn-repo-packages/modern/get_git_repo_root.js index b365b6b8870c9..344bf0e74296f 100644 --- a/packages/kbn-repo-packages/modern/get_git_repo_root.js +++ b/packages/kbn-repo-packages/modern/get_git_repo_root.js @@ -26,6 +26,7 @@ function getGitRepoRootSync(repoRoot) { cwd: repoRoot, encoding: 'utf8', maxBuffer: Infinity, + stdio: 'pipe', }); const firstLine = stdout.split('\n')[0];