Skip to content

Commit d709fc3

Browse files
Merge pull request #1187 from DustinCampbell/fix-silly-bug
Fix silly bug in dotnet restore
2 parents 1d70009 + 37d44a6 commit d709fc3

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)