Skip to content

Commit a9da5de

Browse files
committed
Some more reverts
1 parent 52260d7 commit a9da5de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lsptoolshost/optionNameConverter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import assert = require('node:assert');
77

8-
export function convertServerOptionNameToClientConfigurationName(section: string) : string | null {
8+
export function convertServerOptionNameToClientConfigurationName(section: string): string | null {
99
// Server name would be in format {languageName}|{grouping}.{name} or
1010
// {grouping}.{name} if this option can be applied to multiple languages.
1111
const languageNameIndex = section.indexOf('|');
@@ -61,7 +61,7 @@ function getPrefix(section: string, prefixes: string[]) {
6161
}
6262

6363
function convertToCamelCase(inputString: string, delimiter: string): string {
64-
const words = inputString.split(delimiter).map(word => word.toLowerCase());
64+
const words = inputString.split(delimiter).map((word) => word.toLowerCase());
6565
if (words.length <= 1) {
6666
return inputString.toLowerCase();
6767
}
@@ -73,4 +73,4 @@ function convertToCamelCase(inputString: string, delimiter: string): string {
7373

7474
function capitalize(inputString: string): string {
7575
return inputString.charAt(0).toUpperCase() + inputString.substring(1);
76-
}
76+
}

0 commit comments

Comments
 (0)