Added missing changes and modified dist assets.

This commit is contained in:
GitHub Action 2023-09-22 17:07:10 +00:00
parent a351a301d2
commit 8af3110d4d
2 changed files with 6 additions and 2 deletions

6
dist/index.js generated vendored
View File

@ -749,7 +749,10 @@ const setOutputsAndGetModifiedAndChangedFilesStatus = ({ allDiffFiles, allFilter
workingDirectory) {
const newDeletedFilesPaths = [];
for (const deletedPath of getArrayFromPaths(deletedFiles.paths, inputs)) {
if (!(yield (0, utils_1.exists)(path_1.default.join(workingDirectory, deletedPath)))) {
const dirPath = path_1.default.join(workingDirectory, deletedPath);
core.debug(`Checking if directory exists: ${dirPath}`);
if (!(yield (0, utils_1.exists)(dirPath))) {
core.debug(`Directory not found: ${dirPath}`);
newDeletedFilesPaths.push(deletedPath);
}
}
@ -757,6 +760,7 @@ const setOutputsAndGetModifiedAndChangedFilesStatus = ({ allDiffFiles, allFilter
? newDeletedFilesPaths
: newDeletedFilesPaths.join(inputs.separator);
deletedFiles.count = newDeletedFilesPaths.length.toString();
core.debug(`New deleted files: ${JSON.stringify(deletedFiles)}`);
}
yield (0, utils_1.setOutput)({
key: (0, utils_1.getOutputKey)('deleted_files', outputPrefix),

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long