3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-03-05 21:06:25 +00:00

chore: move variable declaration (#1584)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
Co-authored-by: tj-actions[bot] <109116665+tj-actions-bot@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack 2023-09-18 17:37:47 -06:00 committed by GitHub
parent fd73c1248c
commit dcbe9805f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

4
dist/index.js generated vendored
View file

@ -74,9 +74,9 @@ const processChangedFiles = ({ filePatterns, allDiffFiles, inputs, yamlFilePatte
core.info('All Done!');
core.endGroup();
}
const modifiedKeys = [];
const changedKeys = [];
if (Object.keys(yamlFilePatterns).length > 0) {
const modifiedKeys = [];
const changedKeys = [];
for (const key of Object.keys(yamlFilePatterns)) {
core.startGroup(`changed-files-yaml-${key}`);
const allFilteredDiffFiles = yield (0, utils_1.getFilteredChangedFiles)({

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -50,10 +50,10 @@ export const processChangedFiles = async ({
core.endGroup()
}
const modifiedKeys: string[] = []
const changedKeys: string[] = []
if (Object.keys(yamlFilePatterns).length > 0) {
const modifiedKeys: string[] = []
const changedKeys: string[] = []
for (const key of Object.keys(yamlFilePatterns)) {
core.startGroup(`changed-files-yaml-${key}`)
const allFilteredDiffFiles = await getFilteredChangedFiles({