Skip to content

Commit 8cca0f0

Browse files
committed
Add ability to change the gauntlet report name
1 parent 281a05e commit 8cca0f0

File tree

1 file changed

+3
-1
lines changed
  • gauntlet/packages/gauntlet-serum-multisig/src

1 file changed

+3
-1
lines changed

gauntlet/packages/gauntlet-serum-multisig/src/index.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ export const multisigCommands = {
2424
)[0]
2525

2626
const result = await executeCLI(multisigCommands, networkPath)
27-
io.saveJSON(result, 'report')
27+
if (result) {
28+
io.saveJSON(result, process.env['REPORT_NAME'] ? process.env['REPORT_NAME'] : 'report')
29+
}
2830
} catch (e) {
2931
console.log(e)
3032
console.log('Solana Command execution error', e.message)

0 commit comments

Comments
 (0)