Skip to content

Commit 095d86f

Browse files
author
Ravi Chande
committed
'Ms' -> 'MS'
1 parent b41ab75 commit 095d86f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@
557557
"default": true,
558558
"description": "Specifes whether OmniSharp should use VS Code editor settings for C# code formatting (use of tabs, indentation size)."
559559
},
560-
"omnisharp.disableMsBuildDiagnosticWarning": {
560+
"omnisharp.disableMSBuildDiagnosticWarning": {
561561
"type": "boolean",
562562
"default": false,
563563
"description": "Specifies whether notifications should be shown if OmniSharp encounters warnings or errors loading a project. Note that these warnings/errors are always emitted to the OmniSharp log"

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<CSharp
6060
eventStream.subscribe(omnisharpLogObserver.post);
6161
eventStream.subscribe(omnisharpChannelObserver.post);
6262

63-
let warningMessageObserver = new WarningMessageObserver(vscode, () => Options.Read().disableMsBuildDiagnosticWarning || false);
63+
let warningMessageObserver = new WarningMessageObserver(vscode, () => Options.Read().disableMSBuildDiagnosticWarning || false);
6464
eventStream.subscribe(warningMessageObserver.post);
6565

6666
let informationMessageObserver = new InformationMessageObserver(vscode);

src/omnisharp/options.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class Options {
1919
public showReferencesCodeLens?: boolean,
2020
public showTestsCodeLens?: boolean,
2121
public disableCodeActions?: boolean,
22-
public disableMsBuildDiagnosticWarning?: boolean) { }
22+
public disableMSBuildDiagnosticWarning?: boolean) { }
2323

2424
public static Read(): Options {
2525
// Extra effort is taken below to ensure that legacy versions of options
@@ -60,7 +60,7 @@ export class Options {
6060

6161
const disableCodeActions = csharpConfig.get<boolean>('disableCodeActions', false);
6262

63-
const disableMsBuildDiagnosticWarning = omnisharpConfig.get<boolean>('disableMsBuildDiagnosticWarning');
63+
const disableMSBuildDiagnosticWarning = omnisharpConfig.get<boolean>('disableMSBuildDiagnosticWarning');
6464

6565
return new Options(path,
6666
useMono,
@@ -74,6 +74,6 @@ export class Options {
7474
showReferencesCodeLens,
7575
showTestsCodeLens,
7676
disableCodeActions,
77-
disableMsBuildDiagnosticWarning);
77+
disableMSBuildDiagnosticWarning);
7878
}
7979
}

0 commit comments

Comments
 (0)