Skip to content

Commit

Permalink
More types (tests) (#1275)
Browse files Browse the repository at this point in the history
Related: #1225
  • Loading branch information
ssbarnea authored Apr 24, 2024
1 parent cf5fb47 commit 752891a
Show file tree
Hide file tree
Showing 5 changed files with 869 additions and 765 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function doCompletion(
document: TextDocument,
position: Position,
context: WorkspaceFolderContext,
): Promise<CompletionItem[] | null> {
): Promise<CompletionItem[]> {
isAnsiblePlaybook = isPlaybook(document);

let preparedText = document.getText();
Expand Down Expand Up @@ -437,7 +437,7 @@ export async function doCompletion(
}
}
}
return null;
return [];
}

function getKeywordCompletion(
Expand Down
Loading

0 comments on commit 752891a

Please sign in to comment.