We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf75996 commit 278097bCopy full SHA for 278097b
2 files changed
index.js
@@ -42,8 +42,8 @@ function parseGitPatch(patch) {
42
const fileData = {
43
added: false,
44
deleted: false,
45
- beforeName: a,
46
- afterName: b,
+ beforeName: a.trim(),
+ afterName: b.trim(),
47
modifiedLines: [],
48
}
49
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "parse-git-patch",
3
- "version": "1.0.6",
+ "version": "1.0.7",
4
"description": "Parse git patches with ease",
5
"main": "index.js",
6
"files": [
0 commit comments