Run format

This commit is contained in:
Jacob Wallraff
2023-01-23 16:25:30 -08:00
parent 6be2bd1cd7
commit e8c5a21743
4 changed files with 8 additions and 8 deletions
+5 -4
View File
@@ -36,8 +36,9 @@ function getHover(tokenResult: TokenResult): Hover | null {
if (tokenResult.parent && isCronMapping(tokenResult.parent) && isString(token)) {
let description = getSentence((token as StringToken).value);
if (description) {
description += "\n\nActions schedules run at most every 5 minutes." +
" [Learn more](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#onschedule)"
description +=
"\n\nActions schedules run at most every 5 minutes." +
" [Learn more](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#onschedule)";
return {
contents: description,
range: mapRange(token.range)
@@ -72,5 +73,5 @@ function getHover(tokenResult: TokenResult): Hover | null {
}
function isCronMapping(token: TemplateToken): boolean {
return token.definition?.key === "cron-mapping"
}
return token.definition?.key === "cron-mapping";
}