File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -108,11 +108,6 @@ function parseGitPatch(patch: string) {
108108 lineNumber : nB ,
109109 line : line . substring ( 1 ) ,
110110 } )
111-
112- if ( line . substring ( 1 ) === ' this.#path,' ) {
113- console . log ( 'nB' , nB )
114- console . log ( fileData . modifiedLines [ fileData . modifiedLines . length - 1 ] )
115- }
116111 }
117112 else if ( line . startsWith ( '-' ) ) {
118113 nB --
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ test('parses a simple patch', () => {
6565 } )
6666} )
6767
68- test . only ( 'parses a complex patch' , ( ) => {
68+ test ( 'parses a complex patch' , ( ) => {
6969 const result = parse ( data [ 'many-files.patch' ] )
7070
7171 expect ( result ) . toEqual ( {
@@ -140,7 +140,7 @@ test.only('parses a complex patch', () => {
140140 {
141141 added : false ,
142142 line : ' constructor(request, stage) {' ,
143- lineNumber : 232 ,
143+ lineNumber : 22 ,
144144 } ,
145145 {
146146 added : true ,
You can’t perform that action at this time.
0 commit comments