We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
startBlockFlag
1 parent 984cf70 commit 65bbf17Copy full SHA for 65bbf17
packages/cli/src/commands/add.ts
@@ -81,7 +81,7 @@ export default class AddCommand extends Command {
81
82
if (isLocalHost) this.warn('`localhost` network detected, prompting user for inputs');
83
84
- let startBlock = parseInt(startBlockFlag ?? '').toString();
+ let startBlock = startBlockFlag ? parseInt(startBlockFlag).toString() : startBlockFlag;
85
let contractName = contractNameFlag;
86
87
let ethabi = null;
0 commit comments