Skip to content

Commit 3775e7d

Browse files
Fix deprecation warning handling. (#260)
* Fix deprecation warning handling. Signed-off-by: Jerome Luckenbach <[email protected]> * Add Changelog. Signed-off-by: Jerome Luckenbach <[email protected]>
1 parent cac1960 commit 3775e7d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- Refactor configuration entries (#247)
1212
- Remove 3rd Party references and rename console setting (#247)
1313
- Replace deprecated http library (#247)
14-
- Add update notice prepared for loing term usage (#250, #258)
14+
- Add update notice prepared for loing term usage (#250, #258, #260)
1515
- Remove Changelog from .vscodeignore for better marketplace presentation (#253)
1616
- Dependency update (#254)
1717

client/src/Utils/ConfigManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Please take a look at the current extension settings\nand update to the new conf
9494
returnValue = this.checkAndGet(config, parameter)
9595
break
9696
case 'consoleCommand':
97-
returnValue = this.checkAndGet(config, OH_CONFIG_DEPRECATED.consoleCommand)
97+
returnValue = this.checkAndGet(config, OH_CONFIG_DEPRECATED.karafCommand)
9898
break
9999
case 'languageserver':
100100
switch (parameter) {

client/src/Utils/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export const OH_CONFIG_DEPRECATED = {
3030
password : 'password',
3131
remoteLspEnabled : 'remoteLspEnabled',
3232
remoteLspPort : 'remoteLspPort',
33-
consoleCommand : 'karafCommand',
34-
sitemapPreview : 'sitemapPreviewUI',
33+
karafCommand : 'karafCommand',
34+
sitemapPreviewUI : 'sitemapPreviewUI',
3535
}
3636

3737
/**

0 commit comments

Comments
 (0)