File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ function diff() {
3636 }
3737
3838 function ongit ( err , git ) {
39- /* istanbul ignore if - never happens */
39+ /* istanbul ignore if - Never happens */
4040 if ( err ) {
4141 return next ( err )
4242 }
4343
44- /* istanbul ignore if - not testable in a Git repo... */
44+ /* istanbul ignore if - Not testable in a Git repo… */
4545 if ( ! git ) {
4646 return next ( new Error ( 'Not in a git repository' ) )
4747 }
@@ -83,7 +83,7 @@ function diff() {
8383 var fp = path . resolve ( file . cwd , file . path )
8484 var ranges = patches [ fp ]
8585
86- /* Unchanged file. */
86+ // Unchanged file.
8787 if ( ! ranges || ranges . length === 0 ) {
8888 file . messages = [ ]
8989 return next ( )
@@ -120,8 +120,7 @@ function parse(data) {
120120 var position
121121 var no
122122
123- /* istanbul ignore if - should not happen, maybe if
124- * Git returns weird diffs? */
123+ /* istanbul ignore if - Should not happen, maybe if Git returns weird diffs? */
125124 if ( ! match ) {
126125 return
127126 }
You can’t perform that action at this time.
0 commit comments