Skip to content

Commit e01ab9f

Browse files
committed
Fix error in local data processing
1 parent 09453fa commit e01ab9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/io/snyk/plugins/artifactory/scanner/ScannerModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private Optional<Instant> getCreatedDate(RepoPath repoPath) {
108108
if (itemInfo != null) {
109109
LocalDate created = Instant.ofEpochMilli(createdDate).atZone(ZoneId.systemDefault()).toLocalDate();
110110
if (created != null) {
111-
return Optional.of(created.atStartOfDay(ZoneId.systemDefault()).toInstant(););
111+
return Optional.of(created.atStartOfDay(ZoneId.systemDefault()).toInstant());
112112
}
113113
}
114114
} catch (Exception e) {

0 commit comments

Comments
 (0)