Skip invalid timestamps in declare()
This commit is contained in:
1 parent
d91be02599
commit
2789961596
1 file changed
+1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user