mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-30 14:14:17 +00:00
disable error-based control flow?
This commit is contained in:
parent
5b968076a2
commit
8dcb9b1f2e
|
|
@ -16,7 +16,7 @@ function execPromise(
|
|||
command: string,
|
||||
options: ExecOptions,
|
||||
): Promise<{exitCode: number; stdout: string; stderr: string}> {
|
||||
// options.shell = '/bin/bash';
|
||||
options.shell = '/bin/bash';
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
exec(command, options, (error, stdout, stderr) => {
|
||||
|
|
@ -31,7 +31,7 @@ function execPromise(
|
|||
|
||||
// Quite high/conservative concurrency value (it was previously "Infinity")
|
||||
// See https://github.com/facebook/docusaurus/pull/10915
|
||||
const DefaultGitCommandConcurrency = 1;
|
||||
const DefaultGitCommandConcurrency = 10;
|
||||
|
||||
const GitCommandConcurrencyEnv = process.env.DOCUSAURUS_GIT_COMMAND_CONCURRENCY
|
||||
? parseInt(process.env.DOCUSAURUS_GIT_COMMAND_CONCURRENCY, 10)
|
||||
|
|
|
|||
Loading…
Reference in New Issue