Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/util.ts')
| -rw-r--r-- | editors/code/src/util.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/code/src/util.ts b/editors/code/src/util.ts index 1e83c281a1..0414ea0f80 100644 --- a/editors/code/src/util.ts +++ b/editors/code/src/util.ts @@ -155,6 +155,7 @@ export function execute(command: string, options: ExecOptions): Promise<string> } export function executeDiscoverProject(command: string, options: ExecOptions): Promise<string> { + options = Object.assign({ maxBuffer: 10 * 1024 * 1024 }, options); log.info(`running command: ${command}`); return new Promise((resolve, reject) => { exec(command, options, (err, stdout, _) => { |