Skip to content

Commit

Permalink
Fixed name of variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Apr 24, 2024
1 parent 0a78a2a commit 2fd7b6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Cloner.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ class Cloner {
if (this.options.createdAfter && srcCreated < parseInt(this.options.createdAfter, 10)) {
return false;
}
const srcModified = (srcItem.created instanceof Date) ? srcItem.modified.getTime() : parseInt(srcItem.modified, 10);
// eslint-disable-next-line max-len
const srcModified = (srcItem.modified instanceof Date) ? srcItem.modified.getTime() : parseInt(srcItem.modified, 10);
if (this.options.modifiedAfter && srcModified < parseInt(this.options.modifiedAfter, 10)) {
return false;
}
Expand Down

0 comments on commit 2fd7b6e

Please sign in to comment.