chore: update inputs.ts adding comment about fetch_depth (#2000)
This commit is contained in:
parent
427adf47f0
commit
02768050b1
1
dist/index.js
generated
vendored
1
dist/index.js
generated
vendored
@ -1650,6 +1650,7 @@ const getInputs = () => {
|
||||
useRestApi
|
||||
};
|
||||
if (fetchDepth) {
|
||||
// Fallback to at least 2 if the fetch_depth is less than 2
|
||||
inputs.fetchDepth = Math.max(parseInt(fetchDepth, 10), 2);
|
||||
}
|
||||
if (dirNamesMaxDepth) {
|
||||
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user