Skip to content
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

Upgrade to check-spelling 0.0.20alpha7 #19127

Merged
merged 17 commits into from
Jul 1, 2022
Prev Previous commit
Next Next commit
spelling: whether
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Jun 30, 2022
commit adad15005eaa75a74c2c8c6ad2a3e9387cb57be7
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ internal WindowProcess(uint pid, uint tid, string name)
/// <param name="name">New process name.</param>
internal void UpdateProcessInfo(uint pid, uint tid, string name)
{
// TODO: Add verification as to wether the process id and thread id is valid
// TODO: Add verification as to whether the process id and thread id is valid
ProcessID = pid;
ThreadID = tid;
Name = name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ private static IDictionary GetEnvironmentVariablesWithErrorLog(EnvironmentVariab
}

/// <summary>
/// Checks wether this process is running under the system user/account.
/// Checks whether this process is running under the system user/account.
/// </summary>
/// <returns>A boolean value that indicates wether this process is running under system account (true) or not (false).</returns>
/// <returns>A boolean value that indicates whether this process is running under system account (true) or not (false).</returns>
private static bool IsRunningAsSystem()
{
using (var identity = WindowsIdentity.GetCurrent())
Expand Down