Skip to content

Commit 545d663

Browse files
committed
use relative path (to directory) when storing where a comment is
1 parent 0cdf52a commit 545d663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/comments/comments.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func SearchDir(dirPath string) (Comments, error) {
131131
return err
132132
}
133133
defer f.Close()
134-
t, err := SearchFile(p, f)
134+
t, err := SearchFile(localPath, f)
135135
if err != nil {
136136
return err
137137
}

0 commit comments

Comments
 (0)