chore: update inputs.ts adding comment about fetch_depth (#2000)

This commit is contained in:
Tonye Jack
2024-03-20 08:29:59 -06:00
committed by GitHub
parent 427adf47f0
commit 02768050b1
3 changed files with 3 additions and 1 deletions

View File

@@ -297,6 +297,7 @@ export const getInputs = (): Inputs => {
}
if (fetchDepth) {
// Fallback to at least 2 if the fetch_depth is less than 2
inputs.fetchDepth = Math.max(parseInt(fetchDepth, 10), 2)
}