From c3ed8d3408a3ea7c58e1d431f895dc2e90fefe1a Mon Sep 17 00:00:00 2001 From: Christopher Schleiden Date: Fri, 2 Dec 2022 13:58:17 -0800 Subject: [PATCH] Remove obsolete comments --- actions-languageservice/src/complete.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/actions-languageservice/src/complete.ts b/actions-languageservice/src/complete.ts index 156b00d..273ddfb 100644 --- a/actions-languageservice/src/complete.ts +++ b/actions-languageservice/src/complete.ts @@ -72,8 +72,6 @@ export async function complete( // If we are inside an expression, take a different code-path. The workflow parser does not correctly create // expression nodes for invalid expressions and during editing expressions are invalid most of the time. if (token) { - // We don't have any way of specifying that a token in the workflow schema is alwyas an expression. For now these - // are only the job and step level `if` nodes, so check for those here. const isExpression = token.definition?.definitionType === DefinitionType.String && (token.definition as StringDefinition).isExpression; const containsExpression = isString(token) && token.value.indexOf(OPEN_EXPRESSION) >= 0;