Skip to content

Commit d6babd6

Browse files
authored
fix: warning with fetch_missing_history_max_retries using REST API (#2114)
1 parent 0a79e54 commit d6babd6

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/__tests__/__snapshots__/inputs.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exports[`getInputs should correctly parse boolean inputs 1`] = `
1515
"failOnInitialDiffError": "false",
1616
"failOnSubmoduleDiffError": "false",
1717
"fetchAdditionalSubmoduleHistory": "false",
18-
"fetchMissingHistoryMaxRetries": 10,
18+
"fetchMissingHistoryMaxRetries": 20,
1919
"files": "",
2020
"filesFromSourceFile": "",
2121
"filesFromSourceFileSeparator": "",
@@ -324,7 +324,7 @@ exports[`getInputs should return default values when no inputs are provided 1`]
324324
"failOnInitialDiffError": false,
325325
"failOnSubmoduleDiffError": false,
326326
"fetchAdditionalSubmoduleHistory": false,
327-
"fetchMissingHistoryMaxRetries": 10,
327+
"fetchMissingHistoryMaxRetries": 20,
328328
"files": "",
329329
"filesFromSourceFile": "",
330330
"filesFromSourceFileSeparator": "",

src/__tests__/utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ describe('utils test', () => {
639639
negationPatternsFirst: false,
640640
useRestApi: false,
641641
excludeSubmodules: false,
642-
fetchMissingHistoryMaxRetries: 10,
642+
fetchMissingHistoryMaxRetries: 20,
643643
usePosixPathSeparator: false,
644644
tagsPattern: '*',
645645
tagsIgnorePattern: ''

src/constant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS: Partial<Inputs> = {
2222
fetchAdditionalSubmoduleHistory: false,
2323
dirNamesDeletedFilesIncludeOnlyDeletedDirs: false,
2424
excludeSubmodules: false,
25-
fetchMissingHistoryMaxRetries: 10,
25+
fetchMissingHistoryMaxRetries: 20,
2626
usePosixPathSeparator: false,
2727
tagsPattern: '*',
2828
tagsIgnorePattern: ''

0 commit comments

Comments
 (0)