Skip to content

Conversation

@nguerrera
Copy link
Contributor

Fix #660

@azure-pipelines
Copy link

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/916/

var options = Environment.GetEnvironmentVariable("CADL_SERVER_NODE_OPTIONS");
var module = GetDevelopmentCadlServerPath();
return ("node.exe", new string[] { module, options }.Concat(args).ToArray(), env);
var options = Environment.GetEnvironmentVariable("CADL_SERVER_NODE_OPTIONS");
Copy link
Member

Choose a reason for hiding this comment

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

hhm did the formatter not catch this before?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It breaks with #if it seems, I ran VS format command :(

}
else
{
// When a solution is open, there is no workspace settings manager,
Copy link
Member

Choose a reason for hiding this comment

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

Can't believe they don't have this story sorted out.

@nguerrera
Copy link
Contributor Author

I found some bugs and made substantial changes, will open a fresh PR when ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Visual Studio extension doesn't find the cadl-server path in VSWorkspaceSettings.json when a solution is open

2 participants