Skip to content

Commit c783d6f

Browse files
committed
src:goGenerateTests: fix lint
Change-Id: Ifd980c7de7a006cf79e0b5a6f4d56f2bceec6959 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/389658 Trust: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Suzy Mueller <[email protected]> TryBot-Result: kokoro <[email protected]>
1 parent 1cc1b7c commit c783d6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/goGenerateTests.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,7 @@ function generateTests(conf: Config, goConfig: vscode.WorkspaceConfiguration): P
227227
async function getFunctions(doc: vscode.TextDocument): Promise<vscode.DocumentSymbol[]> {
228228
const documentSymbolProvider = new GoDocumentSymbolProvider();
229229
const symbols = await documentSymbolProvider.provideDocumentSymbols(doc, null);
230-
return symbols[0].children.filter((sym) => [vscode.SymbolKind.Function, vscode.SymbolKind.Method].includes(sym.kind));
230+
return symbols[0].children.filter((sym) =>
231+
[vscode.SymbolKind.Function, vscode.SymbolKind.Method].includes(sym.kind)
232+
);
231233
}

0 commit comments

Comments
 (0)