File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
src/renderer/components/commit Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -78,25 +78,6 @@ export default {
7878 ]);
7979 try {
8080 let output = files .split (" \n " );
81- let additionDeletion = output[output .length - 2 ].split (" , " );
82- additionDeletion .shift ();
83- let addition;
84- let deletion;
85-
86- for (let i = 0 ; i < additionDeletion .length ; i++ ) {
87- let commitMetaType = additionDeletion[i].slice (
88- additionDeletion[i].length - 2 ,
89- additionDeletion[i].length - 1
90- );
91- let additionDeletionNumber = additionDeletion[i].split (" " );
92- if (commitMetaType === " +" ) {
93- addition = additionDeletionNumber[0 ];
94- }
95- if (commitMetaType === " -" ) {
96- deletion = additionDeletionNumber[0 ];
97- }
98- }
99-
10081 this .files .list = output .slice (1 , output .length - 2 );
10182 } catch (error) {
10283 Sentry .captureException (error);
You can’t perform that action at this time.
0 commit comments