Skip to content

Commit 3a2572e

Browse files
committed
Fix lint error
1 parent 2613ef9 commit 3a2572e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ func CutDiffAroundLine(originalDiff io.Reader, line int64, old bool, numbersOfLi
275275
return strings.Join(newHunk, "\n"), nil
276276
}
277277

278-
// Get the affected files between two commits
278+
// GetAffectedFiles returns the affected files between two commits
279279
func GetAffectedFiles(oldCommitID, newCommitID string, env []string, repo *Repository) ([]string, error) {
280280
stdoutReader, stdoutWriter, err := os.Pipe()
281281
if err != nil {

0 commit comments

Comments
 (0)