fix: bug with returning old filename in renamed files output (#1281)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2023-06-19 15:34:12 -06:00
committed by GitHub
parent 6d89069134
commit 54479c37f5
4 changed files with 17 additions and 3 deletions

View File

@@ -484,7 +484,7 @@ export const getAllChangedFiles = async ({
changedFiles[ChangeTypeEnum.Deleted].push(normalizedFilePath)
changedFiles[ChangeTypeEnum.Added].push(normalizedNewPath)
} else {
changedFiles[ChangeTypeEnum.Renamed].push(normalizedFilePath)
changedFiles[ChangeTypeEnum.Renamed].push(normalizedNewPath)
}
} else {
changedFiles[changeType as ChangeTypeEnum].push(normalizedFilePath)