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:
parent
fd73c1248c
commit
dcbe9805f4
3 changed files with 6 additions and 6 deletions
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
|
@ -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
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue