aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/utils/utils.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2019-01-18 05:29:46 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2019-01-18 05:29:46 +0800
commit02b7a4390908e74805cc5ae9f97f4ddceaba8fde (patch)
tree9af5c74a19be6b6fba49022388bb529e7e32889c /packages/monorepo-scripts/src/utils/utils.ts
parent92f5ad4f1518b2aaa3f1754b44a3059ac1610e0c (diff)
parente1e531a2a48cdacd3d8e8b6427e3f0410699ea3d (diff)
downloaddexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.gz
dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.zst
dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.zip
Merge branch 'development' into feature/instant/asset-buyer-check-liquidity
Diffstat (limited to 'packages/monorepo-scripts/src/utils/utils.ts')
-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');