3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-18 09:44:46 +00:00

fix: warning with fetch_missing_history_max_retries using REST API (#2114)

This commit is contained in:
Tonye Jack 2024-05-29 23:05:34 -06:00 committed by GitHub
parent 0a79e54e1f
commit d6babd6899
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 4 additions and 4 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View file

@ -15,7 +15,7 @@ exports[`getInputs should correctly parse boolean inputs 1`] = `
"failOnInitialDiffError": "false", "failOnInitialDiffError": "false",
"failOnSubmoduleDiffError": "false", "failOnSubmoduleDiffError": "false",
"fetchAdditionalSubmoduleHistory": "false", "fetchAdditionalSubmoduleHistory": "false",
"fetchMissingHistoryMaxRetries": 10, "fetchMissingHistoryMaxRetries": 20,
"files": "", "files": "",
"filesFromSourceFile": "", "filesFromSourceFile": "",
"filesFromSourceFileSeparator": "", "filesFromSourceFileSeparator": "",
@ -324,7 +324,7 @@ exports[`getInputs should return default values when no inputs are provided 1`]
"failOnInitialDiffError": false, "failOnInitialDiffError": false,
"failOnSubmoduleDiffError": false, "failOnSubmoduleDiffError": false,
"fetchAdditionalSubmoduleHistory": false, "fetchAdditionalSubmoduleHistory": false,
"fetchMissingHistoryMaxRetries": 10, "fetchMissingHistoryMaxRetries": 20,
"files": "", "files": "",
"filesFromSourceFile": "", "filesFromSourceFile": "",
"filesFromSourceFileSeparator": "", "filesFromSourceFileSeparator": "",

View file

@ -639,7 +639,7 @@ describe('utils test', () => {
negationPatternsFirst: false, negationPatternsFirst: false,
useRestApi: false, useRestApi: false,
excludeSubmodules: false, excludeSubmodules: false,
fetchMissingHistoryMaxRetries: 10, fetchMissingHistoryMaxRetries: 20,
usePosixPathSeparator: false, usePosixPathSeparator: false,
tagsPattern: '*', tagsPattern: '*',
tagsIgnorePattern: '' tagsIgnorePattern: ''

View file

@ -22,7 +22,7 @@ export const DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS: Partial<Inputs> = {
fetchAdditionalSubmoduleHistory: false, fetchAdditionalSubmoduleHistory: false,
dirNamesDeletedFilesIncludeOnlyDeletedDirs: false, dirNamesDeletedFilesIncludeOnlyDeletedDirs: false,
excludeSubmodules: false, excludeSubmodules: false,
fetchMissingHistoryMaxRetries: 10, fetchMissingHistoryMaxRetries: 20,
usePosixPathSeparator: false, usePosixPathSeparator: false,
tagsPattern: '*', tagsPattern: '*',
tagsIgnorePattern: '' tagsIgnorePattern: ''