Skip to content

Commit 05354f2

Browse files
authored
Merge pull request #6 from bcardarella/patch-1
fix datetime comparison
2 parents 2b6e200 + d481e75 commit 05354f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class S3Notifier {
5454
}
5555

5656
compareLastModifieds(newLastModified) {
57-
if (newLastModified !== this.lastModified) {
57+
if (newLastModified.getTime() !== this.lastModified.getTime()) {
5858
this.ui.writeLine('config modified; old=%s; new=%s', this.lastModified, newLastModified);
5959
this.lastModified = newLastModified;
6060
this.notify();

0 commit comments

Comments
 (0)