Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Correct operand checked twice in or statement. #520 #521

Merged
merged 1 commit into from
Sep 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/typescript-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ export class TypeScriptService {
}
span.log({ event: 'match', score })
// If no PackageDescriptor query, return match
if (!params.query.package || !params.query.package) {
if (!params.query.package) {
return [symbol]
}
// If SymbolDescriptor matched and the query contains a PackageDescriptor, get package.json and match PackageDescriptor name
Expand Down