Skip to content

Commit edcc1ae

Browse files
Fix dereferencing issue in OmniSharpServer
1 parent a193348 commit edcc1ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/omnisharp/server.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ export abstract class OmnisharpServer {
175175
}
176176

177177
public getSolutionPathOrFolder(): string {
178-
return this._launchTarget.target;
178+
return this._launchTarget
179+
? this._launchTarget.target
180+
: undefined;
179181
}
180182

181183
public getChannel(): vscode.OutputChannel {

0 commit comments

Comments
 (0)