Skip to content

Commit 0334fc3

Browse files
committed
better logic
1 parent 8322095 commit 0334fc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/omnisharp/launcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ function select(resources: vscode.Uri[], rootPath: string): LaunchTarget[] {
107107
});
108108
}
109109

110-
// Discover CSX files
111-
if (isCsx(resource)) {
110+
// Discover if there is any CSX file
111+
if (!hasCSX && isCsx(resource)) {
112112
hasCSX = true;
113113
}
114114
});

0 commit comments

Comments
 (0)