aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-17 23:14:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-17 23:14:19 +0800
commitc09825660c04f6a3b46dcb5139caa856859a5f7a (patch)
tree6c28b6989487bc614fd94f8f5c2271fb9ee9967d /packages/monorepo-scripts/src
parent0b23aaca2619b888dd4e15774d5c543f79f4588d (diff)
downloaddexon-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/src')
-rw-r--r--packages/monorepo-scripts/src/utils/utils.ts2
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');