diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-17 23:14:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-17 23:14:19 +0800 |
commit | c09825660c04f6a3b46dcb5139caa856859a5f7a (patch) | |
tree | 6c28b6989487bc614fd94f8f5c2271fb9ee9967d /packages/monorepo-scripts | |
parent | 0b23aaca2619b888dd4e15774d5c543f79f4588d (diff) | |
download | dexon-0x-contracts-c09825660c04f6a3b46dcb5139caa856859a5f7a.tar.gz dexon-0x-contracts-c09825660c04f6a3b46dcb5139caa856859a5f7a.tar.zst dexon-0x-contracts-c09825660c04f6a3b46dcb5139caa856859a5f7a.zip |
Increase the Buffer size when fetching tags
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r-- | packages/monorepo-scripts/src/utils/utils.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/utils/utils.ts b/packages/monorepo-scripts/src/utils/utils.ts index 95b187cc2..28c5658f3 100644 --- a/packages/monorepo-scripts/src/utils/utils.ts +++ b/packages/monorepo-scripts/src/utils/utils.ts @@ -106,8 +106,10 @@ export const utils = { return nextVersionIfValid; }, async getRemoteGitTagsAsync(): Promise<string[]> { + const TEN_MEGA_BYTES = 1024 * 1024 * 10; // tslint:disable-line custom-no-magic-numbers const result = await execAsync(`git ls-remote --tags`, { cwd: constants.monorepoRootPath, + maxBuffer: TEN_MEGA_BYTES, }); const tagsString = result.stdout; const tagOutputs: string[] = tagsString.split('\n'); |