Update TypeScript

This commit is contained in:
Zaid Abdulla committed 2019-06-05 00:17:36 -07:00
1 parent 1748b49a3b
commit f5ccc2f707
8 files changed
+576 -8

No files matched your search

+3
View File
@@ -165,6 +165,9 @@ async function fetchPresets(): Promise<Preset[]> {
precondition = mongoQueryToFilter(JSON.parse(preset["precondition"]));
}
// Simplify expression
precondition = expression.evaluate(precondition);
const _provisions = preset["provisions"] || [];
// Generate provisions from the old configuration format