Skip to content

Commit fd24509

Browse files
jbamptonvishesh92
andauthored
pre-commit: fix .cs files with the trailing-whitespace hook (#9794)
Co-authored-by: Vishesh <vishesh92@gmail.com>
1 parent 0128046 commit fd24509

File tree

46 files changed

+6325
-6325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+6325
-6325
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ repos:
5959
- id: mixed-line-ending
6060
exclude: \.(cs|xml)$
6161
- id: trailing-whitespace
62-
files: \.(bat|css|gitignore|header|in|install|java|md|properties|py|rb|sh|sql|txt|vue|xml|xsl|yaml|yml)$
62+
files: \.(cs|bat|css|gitignore|header|in|install|java|md|properties|py|rb|sh|sql|txt|vue|xml|xsl|yaml|yml)$
6363
args: [--markdown-linebreak-ext=md]
6464
exclude: ^services/console-proxy/rdpconsole/src/test/doc/freerdp-debug-log\.txt$
6565
- repo: https://github.com/codespell-project/codespell

plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentService.Designer.cs

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public AgentService()
6767
public static void ConfigServerResource()
6868
{
6969
// For simplicity, ServerResource config and settings file are tightly coupled.
70-
// An alternative is to pass a dictionary to the server resource and let it find
70+
// An alternative is to pass a dictionary to the server resource and let it find
7171
// required settings. In contrast, the approach below is strongly typed and makes
7272
// use of VisualStudio settings designer. The designer allows us to avoid
7373
// accessing config using their key strings.

plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/AgentSettings.Designer.cs

+37-37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/ProjectInstaller.Designer.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/hypervisors/hyperv/DotNet/ServerResource/AgentShell/Properties/AssemblyInfo.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
using System.Runtime.CompilerServices;
2020
using System.Runtime.InteropServices;
2121

22-
// General Information about an assembly is controlled through the following
22+
// General Information about an assembly is controlled through the following
2323
// set of attributes. Change these attribute values to modify the information
2424
// associated with an assembly.
2525
[assembly: AssemblyTitle("AgentShell")]
@@ -31,8 +31,8 @@
3131
[assembly: AssemblyTrademark("")]
3232
[assembly: AssemblyCulture("")]
3333

34-
// Setting ComVisible to false makes the types in this assembly not visible
35-
// to COM components. If you need to access a type in this assembly from
34+
// Setting ComVisible to false makes the types in this assembly not visible
35+
// to COM components. If you need to access a type in this assembly from
3636
// COM, set the ComVisible attribute to true on that type.
3737
[assembly: ComVisible(false)]
3838

@@ -42,11 +42,11 @@
4242
// Version information for an assembly consists of the following four values:
4343
//
4444
// Major Version
45-
// Minor Version
45+
// Minor Version
4646
// Build Number
4747
// Revision
4848
//
49-
// You can specify all the values or you can default the Build and Revision Numbers
49+
// You can specify all the values or you can default the Build and Revision Numbers
5050
// by using the '*' as shown below:
5151
// [assembly: AssemblyVersion("1.0.*")]
5252
[assembly: AssemblyVersion("1.0.0.0")]

0 commit comments

Comments
 (0)