Skip to content

Commit

Permalink
Add ability to change the gauntlet report name
Browse files Browse the repository at this point in the history
  • Loading branch information
tateexon committed Feb 17, 2022
1 parent 281a05e commit 8cca0f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gauntlet/packages/gauntlet-serum-multisig/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8cca0f0

Please sign in to comment.