if you try to parse something like:
diff --git a/README.md b/README-2.md
similarity index 100%
rename from README.md
rename to README-2.md
the function parsePatch doesn't return an object with the expected value:
{
oldFileName: "README.md"
newFileName: "README-2.md"
hunks: []
}