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

2
dist/index.js generated vendored
View File

@@ -1813,7 +1813,7 @@ const getAllChangedFiles = ({ cwd, sha1, sha2, diff, isSubmodule = false, parent
changedFiles[changedFiles_1.ChangeTypeEnum.Added].push(normalizedNewPath);
}
else {
changedFiles[changedFiles_1.ChangeTypeEnum.Renamed].push(normalizedFilePath);
changedFiles[changedFiles_1.ChangeTypeEnum.Renamed].push(normalizedNewPath);
}
}
else {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long