Updated debug message
This commit is contained in:
parent
ef42e5ad18
commit
62a23f82b1
@ -399,7 +399,10 @@ export const setOutputsAndGetModifiedAndChangedFilesStatus = async ({
|
|||||||
) {
|
) {
|
||||||
const newDeletedFilesPaths: string[] = []
|
const newDeletedFilesPaths: string[] = []
|
||||||
for (const deletedPath of getArrayFromPaths(deletedFiles.paths, inputs)) {
|
for (const deletedPath of getArrayFromPaths(deletedFiles.paths, inputs)) {
|
||||||
if (!(await exists(path.join(workingDirectory, deletedPath)))) {
|
const dirPath = path.join(workingDirectory, deletedPath)
|
||||||
|
core.debug(`Checking if directory exists: ${dirPath}`)
|
||||||
|
if (!(await exists(dirPath))) {
|
||||||
|
core.debug(`Directory not found: ${dirPath}`)
|
||||||
newDeletedFilesPaths.push(deletedPath)
|
newDeletedFilesPaths.push(deletedPath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -407,6 +410,7 @@ export const setOutputsAndGetModifiedAndChangedFilesStatus = async ({
|
|||||||
? newDeletedFilesPaths
|
? newDeletedFilesPaths
|
||||||
: newDeletedFilesPaths.join(inputs.separator)
|
: newDeletedFilesPaths.join(inputs.separator)
|
||||||
deletedFiles.count = newDeletedFilesPaths.length.toString()
|
deletedFiles.count = newDeletedFilesPaths.length.toString()
|
||||||
|
core.debug(`New deleted files: ${JSON.stringify(deletedFiles)}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
await setOutput({
|
await setOutput({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user