Skip to content

Commit

Permalink
Delete extra blank lines etc. to satisfy Roslynator
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleejordan committed Jan 8, 2025
1 parent d98ced6 commit 869c578
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ internal class LanguageServerLoggerProvider(ILanguageServerFacade languageServer
public void Dispose() { }
}


public static class LanguageServerLoggerExtensions
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ void RunspaceChangedHandler(object s, RunspaceChangedEventArgs _)
throw new RpcErrorException(0, null, "Invalid configuration with no process ID nor custom pipe name!");
}


// Execute the Debug-Runspace command but don't await it because it
// will block the debug adapter initialization process. The
// InitializedEvent will be sent as soon as the RunspaceChanged
Expand All @@ -328,7 +327,6 @@ void RunspaceChangedHandler(object s, RunspaceChangedEventArgs _)

if (request.RunspaceId < 1)
{

throw new RpcErrorException(0, null, "A positive integer must be specified for the RunspaceId!");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,4 @@ public static StackFrame CreateStackFrame(StackFrameDetails stackFrame, long id)
Column = invocationInfo.OffsetInLine,
PresentationHint = StackFramePresentationHint.Label
};

}

Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ public async Task<VariablesResponse> Handle(VariablesArguments request, Cancella
.ToArray()
};
}
#pragma warning disable RCS1075
catch (Exception)
{
// TODO: This shouldn't be so broad
}
#pragma warning restore RCS1075

return variablesResponse;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public override async Task<Unit> Handle(DidChangeConfigurationParams request, Ca
return await Unit.Task.ConfigureAwait(false);
}


public event EventHandler<LanguageServerSettings> ConfigurationUpdated;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ await PsesDebugAdapterClient.SetBreakpoints(
await PsesDebugAdapterClient.RequestConfigurationDone(new ConfigurationDoneArguments());
await PsesDebugAdapterClient.LaunchScript(filePath, Started);


// Get the stacktrace for the breakpoint
await Assert.ThrowsAsync<JsonRpcException>(() => PsesDebugAdapterClient.RequestStackTrace(
new StackTraceArguments { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public async Task InitializeAsync()
variableScriptFile = GetDebugScript("VariableTest.ps1");
}


public async Task DisposeAsync()
{
debugService.Abort();
Expand Down

0 comments on commit 869c578

Please sign in to comment.