Skip to content

Commit 505cc90

Browse files
authored
Build fix in commands.pickProjectAndStart
Getting the following without it: ``` npm run compile > [email protected] compile > tsc -p ./ && gulp tslint [17:31:43] Requiring external module ts-node/register [17:31:47] Using gulpfile ~/dev/omnisharp-vscode/gulpfile.ts [17:31:47] Starting 'tslint'... ERROR: /Users/tanay/dev/omnisharp-vscode/src/features/commands.ts:84:44 - functions that return promises must be async [17:31:53] Finished 'tslint' after 5.25 s ```
1 parent 4ed946f commit 505cc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async function restartOmniSharp(context: vscode.ExtensionContext, server: OmniSh
8181

8282
async function pickProjectAndStart(server: OmniSharpServer, optionProvider: OptionProvider): Promise<void> {
8383
let options = optionProvider.GetLatestOptions();
84-
return findLaunchTargets(options).then(targets => {
84+
return findLaunchTargets(options).then(async targets => {
8585

8686
let currentPath = server.getSolutionPathOrFolder();
8787
if (currentPath) {

0 commit comments

Comments
 (0)