Skip to content

Commit

Permalink
test(cucumber): fix command to publish contract utxos
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Jun 16, 2022
1 parent febcd7d commit 632b664
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions integration_tests/helpers/walletProcess.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,11 @@ class WalletProcess {

const overrides = this.getOverrides();
Object.keys(overrides).forEach((k) => {
args.push("-p");
args.push(`${k}=${overrides[k]}`);
let v = overrides[k];
if (typeof v !== "undefined") {
args.push("-p");
args.push(`${k}=${v}`);
}
});

// Append command arguments
Expand Down

0 comments on commit 632b664

Please sign in to comment.