Skip to content

Commit e01e4ca

Browse files
committed
fix QF1009: probably want to use time.Time.Equal instead
1 parent 2122d3f commit e01e4ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robots/issue-creator/testowner/owner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ func (o *ReloadingOwnerList) reload() error {
211211
if err != nil {
212212
return err
213213
}
214-
if info.ModTime() == o.mtime {
214+
if info.ModTime().Equal(o.mtime) {
215215
return nil
216216
}
217217
file, err := os.Open(o.path)

0 commit comments

Comments
 (0)