Skip to content

Commit

Permalink
Update CLI parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
EricxStone committed Dec 30, 2021
1 parent 04f5e9d commit 3a9f1dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tasks/blockscout-verify.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { task } from "hardhat/config";
import { task, types } from "hardhat/config";
import { NomicLabsHardhatPluginError } from "hardhat/plugins";
import {
HardhatConfig,
Expand All @@ -9,8 +9,8 @@ import fetch from "node-fetch";
import path from "path";

task("blockscout-verify")
.addParam("filePath", "File path to the contract")
.addParam("address", "Deployed contract address")
.addPositionalParam("filePath", "File path to the contract", types.string)
.addPositionalParam("address", "Deployed contract address", types.string)
.setAction(async function (
args: TaskArguments,
hre: HardhatRuntimeEnvironment
Expand Down

0 comments on commit 3a9f1dc

Please sign in to comment.