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() {
36
36
}
37
37
38
38
function ongit ( err , git ) {
39
- /* istanbul ignore if - never happens */
39
+ /* istanbul ignore if - Never happens */
40
40
if ( err ) {
41
41
return next ( err )
42
42
}
43
43
44
- /* istanbul ignore if - not testable in a Git repo... */
44
+ /* istanbul ignore if - Not testable in a Git repo… */
45
45
if ( ! git ) {
46
46
return next ( new Error ( 'Not in a git repository' ) )
47
47
}
@@ -83,7 +83,7 @@ function diff() {
83
83
var fp = path . resolve ( file . cwd , file . path )
84
84
var ranges = patches [ fp ]
85
85
86
- /* Unchanged file. */
86
+ // Unchanged file.
87
87
if ( ! ranges || ranges . length === 0 ) {
88
88
file . messages = [ ]
89
89
return next ( )
@@ -120,8 +120,7 @@ function parse(data) {
120
120
var position
121
121
var no
122
122
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? */
125
124
if ( ! match ) {
126
125
return
127
126
}
You can’t perform that action at this time.
0 commit comments