-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply automatic fixes (manually) #1755
Conversation
@@ -111,8 +109,7 @@ public static string GenerateValidNamedPipeName(IReadOnlyCollection<string> pref | |||
{ | |||
return pipeName; | |||
} | |||
|
|||
} while (tries < 10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was never incrementing tries and therefore had actually been an infinite loop.
@@ -132,15 +124,13 @@ private EditorServicesServerFactory(ILoggerFactory loggerFactory, LogLevel minim | |||
public PsesDebugServer RecreateDebugServer( | |||
Stream inputStream, | |||
Stream outputStream, | |||
PsesDebugServer debugServer, | |||
bool usePSReadLine) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently we don't use usePSReadLine
at all.
<200 "problems" now! |
@@ -128,8 +128,7 @@ public async Task<SetFunctionBreakpointsResponse> Handle(SetFunctionBreakpointsA | |||
CommandBreakpointDetails[] breakpointDetails = request.Breakpoints | |||
.Select((funcBreakpoint) => CommandBreakpointDetails.Create( | |||
funcBreakpoint.Name, | |||
funcBreakpoint.Condition, | |||
funcBreakpoint.HitCondition)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last param was unused in the function.
await debugInfoHandle.WaitAsync().ConfigureAwait(false); | ||
try | ||
{ | ||
variableContainer = (VariableContainerDetails)variables[variableContainerReferenceId]; | ||
// OK, now we have a PS object from the supplied value string (expression) to assign to a variable. | ||
// Get the variable referenced by variableContainerReferenceId and variable name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry this file might conflict with your PR.
These were available in code lens style "click to fix" but were not applied by the CLI tools. It was slow, but not horrible. Also silence two annoying suggestions around comments and naming.
b9abf59
to
5eb74fe
Compare
And now only 75! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
These were available in code lens style "click to fix" but were not
applied by the CLI tools. It was slow, but not horrible.