1 parent ad9af6f commit d85cbabCopy full SHA for d85cbab
1 file changed
pkg/importer/importer.go
@@ -158,8 +158,8 @@ func (i *Incremental) importAllNew(ctx context.Context) error {
158
}
159
addToImport := false
160
if oldModTime, ok := manifest[path.Join(i.srtDir, v.Name())]; ok {
161
- if oldModTime.After(inf.ModTime()) {
162
- i.logger.Info("file older than existing",
+ if inf.ModTime().After(oldModTime) {
+ i.logger.Info("newer file version was found, added to import",
163
slog.String("path", path.Join(i.srtDir, v.Name())),
164
slog.Time("old", oldModTime),
165
slog.Time("new", inf.ModTime()),
0 commit comments