Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Undo bad fix for check in getVcpkgRoot#5116

Merged
Colengms merged 2 commits into
mastermicrosoft/vscode-cpptools:masterfrom
coleng/fix_getVcpkgRootmicrosoft/vscode-cpptools:coleng/fix_getVcpkgRootCopy head branch name to clipboard
Mar 13, 2020
Merged

Undo bad fix for check in getVcpkgRoot#5116
Colengms merged 2 commits into
mastermicrosoft/vscode-cpptools:masterfrom
coleng/fix_getVcpkgRootmicrosoft/vscode-cpptools:coleng/fix_getVcpkgRootCopy head branch name to clipboard

Conversation

@Colengms

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread Extension/src/common.ts
let vcpkgRoot: string | undefined;
export function getVcpkgRoot(): string {
if (!vcpkgRoot) {
if (!vcpkgRoot && vcpkgRoot !== "") {

@sean-mcmanus sean-mcmanus Mar 13, 2020

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I noticed that when I code reviewed...I was thinking about asking what that was for :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like it's using a value of "" to indicate that it has attempted and failed, so does not attempt again.

@Colengms Colengms merged commit 502eb84 into master Mar 13, 2020
@Colengms Colengms deleted the coleng/fix_getVcpkgRoot branch March 13, 2020 23:58
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.