Skip invalid timestamps in declare()

This commit is contained in:
Zaid Abdulla committed 2022-08-12 16:30:00 -07:00
1 parent d91be02599
commit 2789961596
1 file changed
+1
+1
View File
@@ -255,6 +255,7 @@ function declare(
}
for (const [attrName, attrTimestamp] of Object.entries(timestamps)) {
if (!(attrTimestamp >= 1)) continue;
if (attrName === "path") {
declaration.pathGet = attrTimestamp;
} else {