Skip to content

Commit 68add83

Browse files
committed
Fix unused param
1 parent ef457b2 commit 68add83

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

languageservice/src/complete.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export async function complete(
141141
func.description = getFunctionDescription(func.name);
142142
}
143143

144-
return getExpressionCompletionItems(token, context, extensionFunctions, newPos, config?.featureFlags);
144+
return getExpressionCompletionItems(token, context, extensionFunctions, newPos);
145145
}
146146

147147
const indentation = guessIndentation(newDoc, 2, true); // Use 2 spaces as default and most common for YAML
@@ -532,7 +532,6 @@ function getExpressionCompletionItems(
532532
context: DescriptionDictionary,
533533
extensionFunctions: FunctionInfo[],
534534
pos: Position,
535-
_featureFlags?: FeatureFlags
536535
): CompletionItem[] {
537536
if (!token.range) {
538537
return [];

0 commit comments

Comments
 (0)