mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
Updates for check-spelling v0.0.25 (#40386)
## Summary of the Pull Request - #39572 updated check-spelling but ignored: > 🐣 Breaking Changes [Code Scanning action requires a Code Scanning Ruleset](https://github.com/check-spelling/check-spelling/wiki/Breaking-Change:-Code-Scanning-action-requires-a-Code-Scanning-Ruleset) If you use SARIF reporting, then instead of the workflow yielding an ❌ when it fails, it will rely on [github-advanced-security 🤖](https://github.com/apps/github-advanced-security) to report the failure. You will need to adjust your checks for PRs. This means that check-spelling hasn't been properly doing its job 😦. I'm sorry, I should have pushed a thing to this repo earlier,... Anyway, as with most refreshes, this comes with a number of fixes, some are fixes for typos that snuck in before the 0.0.25 upgrade, some are for things that snuck in after, some are based on new rules in spell-check-this, and some are hand written patterns based on running through this repository a few times. About the 🐣 **breaking change**: someone needs to create a ruleset for this repository (see [Code Scanning action requires a Code Scanning Ruleset: Sample ruleset ](https://github.com/check-spelling/check-spelling/wiki/Breaking-Change:-Code-Scanning-action-requires-a-Code-Scanning-Ruleset#sample-ruleset)). The alternative to adding a ruleset is to change the condition to not use sarif for this repository. In general, I think the github integration from sarif is prettier/more helpful, so I think that it's the better choice. You can see an example of it working in: - https://github.com/check-spelling-sandbox/PowerToys/pull/23 --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Mike Griese <migrie@microsoft.com> Co-authored-by: Dustin L. Howett <dustin@howett.net>
This commit is contained in:
@@ -970,7 +970,7 @@ namespace MouseWithoutBorders.Class
|
||||
/// <summary>
|
||||
/// Use this method to figure out if your code is running on a Microsoft computer.
|
||||
/// </summary>
|
||||
/// <returns>True if running on a Microsoft computer, otherwise false.</returns>
|
||||
/// <returns>True if running on a Microsoft computer; otherwise, false.</returns>
|
||||
internal static bool IsRunningAtMicrosoft()
|
||||
{
|
||||
string domain = GetDNSDomain();
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace MouseWithoutBorders.Core;
|
||||
*
|
||||
* SEQUENCE OF EVENTS:
|
||||
* DragDropStep01: MachineX: Remember mouse down state since it could be a start of a dragging
|
||||
* DragDropStep02: MachineY: Send an message to the MachineX to ask it to check if it is
|
||||
* DragDropStep02: MachineY: Send a message to the MachineX to ask it to check if it is
|
||||
* doing drag/drop
|
||||
* DragDropStep03: MachineX: Got explorerDragDrop, send WM_CHECK_EXPLORER_DRAG_DROP to its mainForm
|
||||
* DragDropStep04: MachineX: Show Mouse Without Borders Helper form at mouse cursor to get DragEnter event.
|
||||
|
||||
@@ -50,7 +50,7 @@ public static class LoggerTests
|
||||
var lines = log.Split("\r\n");
|
||||
|
||||
// some parts of the PrivateDump output are impossible to reproduce -
|
||||
// e.g. random numbers, system timestamps, thread ids, etc, so we'll mask them
|
||||
// e.g. random numbers, system timestamps, thread ids, etc., so we'll mask them
|
||||
var maskPrefixes = new string[]
|
||||
{
|
||||
"----_s0 = ",
|
||||
|
||||
Reference in New Issue
Block a user