Small fix

This commit is contained in:
Jacob Wallraff
2023-01-23 17:22:47 -08:00
parent 7560a1ee51
commit af5c15a422
+2 -2
View File
@@ -90,7 +90,7 @@ async function getDescription(
}
function isCronMappingValue(tokenResult: TokenResult): boolean {
return tokenResult.parent?.definition?.key === "cron-mapping" &&
(tokenResult.token as StringToken).value !== "cron" &&
return tokenResult.parent?.definition?.key === "cron-mapping" &&
(tokenResult.token as StringToken).value !== "cron" &&
isString(tokenResult.token!);
}