From 8cca0f0dc04c19069b1fda3d67e0670ea3f0d2f6 Mon Sep 17 00:00:00 2001 From: Tate Date: Thu, 17 Feb 2022 11:33:00 -0700 Subject: [PATCH] Add ability to change the gauntlet report name --- gauntlet/packages/gauntlet-serum-multisig/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gauntlet/packages/gauntlet-serum-multisig/src/index.ts b/gauntlet/packages/gauntlet-serum-multisig/src/index.ts index 0472381ab..e9b38c85c 100644 --- a/gauntlet/packages/gauntlet-serum-multisig/src/index.ts +++ b/gauntlet/packages/gauntlet-serum-multisig/src/index.ts @@ -24,7 +24,9 @@ export const multisigCommands = { )[0] const result = await executeCLI(multisigCommands, networkPath) - io.saveJSON(result, 'report') + if (result) { + io.saveJSON(result, process.env['REPORT_NAME'] ? process.env['REPORT_NAME'] : 'report') + } } catch (e) { console.log(e) console.log('Solana Command execution error', e.message)