Skip to content

Commit

Permalink
fix: get type check error when runOnCompile is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
emretepedev committed Dec 23, 2022
1 parent 767100c commit a0d10ae
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/tasks/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ export const finderCompileAction: ActionType<TaskArguments> = async (
path: config.finder.contract.path,
name: config.finder.contract.name,
outputs: config.finder.outputs,
depth: config.finder.depth,
maxStringLength: config.finder.maxStringLength,
depth: config.finder.depth === Infinity ? undefined : config.finder.depth,
maxStringLength:
config.finder.maxStringLength === Infinity
? undefined
: config.finder.maxStringLength,
includeDependencies: config.finder.includeDependencies,
colorify: config.finder.colorify,
prettify: config.finder.prettify,
Expand Down

0 comments on commit a0d10ae

Please sign in to comment.