3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-02-06 09:41:22 +00:00

Updated README.md (#1264)

Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
tj-actions[bot] 2023-06-15 11:01:34 -06:00 committed by GitHub
parent 341b80da8b
commit d144c0c92d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -243,11 +243,11 @@ This GitHub Action follows the principles of [Semantic Versioning](https://semve
The format of the version string is as follows: The format of the version string is as follows:
- major: indicates significant changes or new features that may not be backward compatible. * major: indicates significant changes or new features that may not be backward compatible.
- minor: indicates minor changes or new features that are backward compatible. * minor: indicates minor changes or new features that are backward compatible.
- patch: indicates bug fixes or other small changes that are backward compatible. * patch: indicates bug fixes or other small changes that are backward compatible.
## Examples ## Examples

2
dist/index.js generated vendored
View file

@ -1600,9 +1600,9 @@ const getFilteredChangedFiles = ({ allDiffFiles, filePatterns }) => __awaiter(vo
[changedFiles_1.ChangeTypeEnum.Unmerged]: [], [changedFiles_1.ChangeTypeEnum.Unmerged]: [],
[changedFiles_1.ChangeTypeEnum.Unknown]: [] [changedFiles_1.ChangeTypeEnum.Unknown]: []
}; };
const hasFilePatterns = filePatterns.length > 0;
for (const changeType of Object.keys(allDiffFiles)) { for (const changeType of Object.keys(allDiffFiles)) {
const files = allDiffFiles[changeType]; const files = allDiffFiles[changeType];
const hasFilePatterns = filePatterns.length > 0;
if (hasFilePatterns) { if (hasFilePatterns) {
changedFiles[changeType] = (0, micromatch_1.default)(files, filePatterns, { changedFiles[changeType] = (0, micromatch_1.default)(files, filePatterns, {
dot: true, dot: true,

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long