Skip to content

Commit

Permalink
Another test...
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberzed committed May 28, 2024
1 parent 3ac9695 commit a6ebaf0
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ public abstract class BlinkHardwareScannerAttribute : FactAttribute

protected BlinkHardwareScannerAttribute()

Check warning on line 13 in src/Sleddog.Blink1.ExplicitTests/BlinkHardwareScannerAttribute.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable field 'devices' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.

Check warning on line 13 in src/Sleddog.Blink1.ExplicitTests/BlinkHardwareScannerAttribute.cs

View workflow job for this annotation

GitHub Actions / build

Non-nullable field 'devices' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
{
try
{
devices = Hid.Enumerate(VendorId, ProductId);
}
catch
{
Skip = "Failed to load HidApi";

Check warning

Code scanning / CodeQL

Virtual call in constructor or destructor Warning

Avoid virtual calls in a constructor or destructor.
}

Check notice

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.
}
}
}

0 comments on commit a6ebaf0

Please sign in to comment.