Skip to content

Commit 0eca4fa

Browse files
committed
Fix build errors
1 parent d33a223 commit 0eca4fa

File tree

1 file changed

+3
-3
lines changed
  • v-next/hardhat/src/internal/cli

1 file changed

+3
-3
lines changed

v-next/hardhat/src/internal/cli/main.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export async function main(cliArguments: string[], print = console.log) {
7171
);
7272

7373
const globalOptionsMap = buildGlobalOptionsMap(resolvedPlugins);
74-
const userProvidedGlobalOptions = parseGlobalOptions(
74+
const userProvidedGlobalOptions = await parseGlobalOptions(
7575
globalOptionsMap,
7676
cliArguments,
7777
usedCliArguments,
@@ -378,7 +378,7 @@ function parseDoubleDashArgs(
378378
cliArguments: string[],
379379
usedCliArguments: boolean[],
380380
optionsMap: Map<string, TaskOption | GlobalOption>,
381-
argumentsMap: TaskArguments,
381+
argumentsMap: TaskArguments | Partial<GlobalOptions>,
382382
ignoreUnknownParameter = false,
383383
) {
384384
for (let i = 0; i < cliArguments.length; i++) {
@@ -525,7 +525,7 @@ function parsePositionalAndVariadicParameters(
525525

526526
function validateRequiredParameters(
527527
parameters: TaskParameter[],
528-
taskArguments: TaskArguments,
528+
taskArguments: TaskArguments | Partial<GlobalOptions>,
529529
) {
530530
const missingRequiredParam = parameters.find(
531531
(param) =>

0 commit comments

Comments
 (0)