diff --git a/src/tasks/compile.ts b/src/tasks/compile.ts index 81cd0cc..6663592 100644 --- a/src/tasks/compile.ts +++ b/src/tasks/compile.ts @@ -20,8 +20,11 @@ export const finderCompileAction: ActionType = 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,