Skip to content

Commit 37d44a6

Browse files
Fix silly bug in dotnet restore
1 parent 1d70009 commit 37d44a6

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
@@ -152,7 +152,7 @@ export function dotnetRestoreForProject(server: OmniSharpServer, fileName: strin
152152
let directory = path.dirname(fileName);
153153

154154
for (let projectDescriptor of projectDescriptors) {
155-
if (projectDescriptor.Path === directory) {
155+
if (projectDescriptor.Path === fileName) {
156156
return dotnetRestore(directory, fileName);
157157
}
158158
}

0 commit comments

Comments
 (0)