Skip to content

Commit

Permalink
Update arrow sign in printing
Browse files Browse the repository at this point in the history
  • Loading branch information
zemse committed Jun 14, 2023
1 parent 4796c0b commit e9bd357
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/format/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export async function formatCall(
: colorContract(nameToPrint)
}.${colorFunction(functionName ?? fragment?.name)}${
extra.length !== 0 ? colorExtra(`{${extra.join(", ")}}`) : ""
}(${inputArgs})${outputArgs ? ` => (${outputArgs})` : ""}`;
}(${inputArgs})${outputArgs ? ` (${outputArgs})` : ""}`;
}

// format unknown stuff
Expand Down
2 changes: 1 addition & 1 deletion src/format/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function formatContract(
"constructor"
)}${extra.length !== 0 ? `{${extra.join(",")}}` : ""}(${inputArgs})${
deployedAddress
? ` => (${formatParam(deployedAddress, dependencies)})`
? ` (${formatParam(deployedAddress, dependencies)})`
: ""
}`;
} catch {}
Expand Down

0 comments on commit e9bd357

Please sign in to comment.