Fix deprecation warning handling. (#260)

* Fix deprecation warning handling.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Add Changelog.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
pull/261/head
Jerome Luckenbach 2021-04-10 10:05:47 +02:00 committed by GitHub
parent cac19605e2
commit 3775e7d86e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Refactor configuration entries (#247)
- Remove 3rd Party references and rename console setting (#247)
- Replace deprecated http library (#247)
- Add update notice prepared for loing term usage (#250, #258)
- Add update notice prepared for loing term usage (#250, #258, #260)
- Remove Changelog from .vscodeignore for better marketplace presentation (#253)
- Dependency update (#254)

View File

@ -94,7 +94,7 @@ Please take a look at the current extension settings\nand update to the new conf
returnValue = this.checkAndGet(config, parameter)
break
case 'consoleCommand':
returnValue = this.checkAndGet(config, OH_CONFIG_DEPRECATED.consoleCommand)
returnValue = this.checkAndGet(config, OH_CONFIG_DEPRECATED.karafCommand)
break
case 'languageserver':
switch (parameter) {

View File

@ -30,8 +30,8 @@ export const OH_CONFIG_DEPRECATED = {
password : 'password',
remoteLspEnabled : 'remoteLspEnabled',
remoteLspPort : 'remoteLspPort',
consoleCommand : 'karafCommand',
sitemapPreview : 'sitemapPreviewUI',
karafCommand : 'karafCommand',
sitemapPreviewUI : 'sitemapPreviewUI',
}
/**