Fix unused param
This commit is contained in:
@@ -141,7 +141,7 @@ export async function complete(
|
|||||||
func.description = getFunctionDescription(func.name);
|
func.description = getFunctionDescription(func.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return getExpressionCompletionItems(token, context, extensionFunctions, newPos, config?.featureFlags);
|
return getExpressionCompletionItems(token, context, extensionFunctions, newPos);
|
||||||
}
|
}
|
||||||
|
|
||||||
const indentation = guessIndentation(newDoc, 2, true); // Use 2 spaces as default and most common for YAML
|
const indentation = guessIndentation(newDoc, 2, true); // Use 2 spaces as default and most common for YAML
|
||||||
@@ -531,8 +531,7 @@ function getExpressionCompletionItems(
|
|||||||
token: TemplateToken,
|
token: TemplateToken,
|
||||||
context: DescriptionDictionary,
|
context: DescriptionDictionary,
|
||||||
extensionFunctions: FunctionInfo[],
|
extensionFunctions: FunctionInfo[],
|
||||||
pos: Position,
|
pos: Position
|
||||||
_featureFlags?: FeatureFlags
|
|
||||||
): CompletionItem[] {
|
): CompletionItem[] {
|
||||||
if (!token.range) {
|
if (!token.range) {
|
||||||
return [];
|
return [];
|
||||||
|
|||||||
Reference in New Issue
Block a user