inputs isn't a list

This commit is contained in:
niten 2021-11-29 19:34:15 -08:00
parent 7fa2e24315
commit e9f9b9b093
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@
latest-modified-timestamp = head latest-modified-timestamp = head
(sort (a: b: a > b) (sort (a: b: a > b)
(filter (timestamp: timestamp != null) (filter (timestamp: timestamp != null)
(map (input: toInt input.lastModifiedDate) inputs))); (map (input: toInt input.lastModifiedDate)
(attrValues inputs))));
concat-timestamp = timestamp: concat-timestamp = timestamp:
toInt (substring 0 10 (toString timestamp)); toInt (substring 0 10 (toString timestamp));