Skip to content

(maint) Update dependency coverlet.collector to 6.0.4 #282

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.3">
<PackageReference Include="coverlet.collector" Version="6.0.4">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>

Unchanged files with check annotations Beta

return AsyncRegistryKey.Hklm;
}
internal class AsyncRegistryKey : IDisposable

Check warning on line 26 in src/JavaVersionSwitcher/Adapters/RegistryAdapter.cs

GitHub Actions / build (windows-2022)

Check warning on line 26 in src/JavaVersionSwitcher/Adapters/RegistryAdapter.cs

GitHub Actions / build (windows-2022)

{
#pragma warning disable CA1416
private readonly RegistryKey _key;

Check warning on line 29 in src/JavaVersionSwitcher/Adapters/RegistryAdapter.cs

GitHub Actions / build (windows-2022)

private AsyncRegistryKey(RegistryKey key)
{
get
{
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
? Task.Factory.StartNew(() => new AsyncRegistryKey(Registry.LocalMachine))

Check warning on line 42 in src/JavaVersionSwitcher/Adapters/RegistryAdapter.cs

GitHub Actions / build (windows-2022)

: Task.Factory.StartNew<AsyncRegistryKey>(() => null);
}
}
private static ITypeRegistrar BuildRegistrar()
{
var container = new Container();

Check warning on line 66 in src/JavaVersionSwitcher/Program.cs

GitHub Actions / build (windows-2022)

container.Options.ResolveUnregisteredConcreteTypes = true;
container.Register<ILogger, Logger>(Lifestyle.Singleton);
for (var index = 0; index < processesByName.Length; index++) {
processIndexedName = index == 0 ? processName : processName + "#" + index;
var processId = new PerformanceCounter("Process", "ID Process", processIndexedName);

Check warning on line 75 in src/JavaVersionSwitcher/Adapters/ShellAdapter.cs

GitHub Actions / build (windows-2022)

if ((int) processId.NextValue() == pid) {
return processIndexedName;
}
"Accessing parent process is currently only available on windows.");
}
var parentId = new PerformanceCounter("Process", "Creating Process ID", indexedProcessName);

Check warning on line 91 in src/JavaVersionSwitcher/Adapters/ShellAdapter.cs

GitHub Actions / build (windows-2022)

return Process.GetProcessById((int) parentId.NextValue());
}
#pragma warning restore CA1416
private async Task<Tuple<string, string>> GetVersion(string javaExePath)
{
var proc = new Process

Check warning on line 172 in src/JavaVersionSwitcher/Adapters/JavaInstallationsAdapter.cs

GitHub Actions / build (windows-2022)

{
StartInfo = new ProcessStartInfo
{