Skip to content

Commit

Permalink
chore: release v0.8.3-0
Browse files Browse the repository at this point in the history
Code refactoring
Bugfix: Unwanted deletion of data points for Germany solved
  • Loading branch information
DutchmanNL committed Aug 20, 2021
1 parent b6295f1 commit db2d541
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 250 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ As first value, the name from the warning message must be taken from the log. Th
* (DutchmanNL)
-->

### 0.8.3-0 (2021-08-20)
* (jlssmt) Code refactoring
* (DutchmanNL) Bugfix: Unwanted deletion of data points for Germany solved

### 0.8.2 (2021-08-17)
* (DutchmanNL & jlssmt) Small code improvements to prepare stable release

Expand Down
14 changes: 13 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"common": {
"name": "coronavirus-statistics",
"version": "0.8.2",
"version": "0.8.3-0",
"news": {
"0.8.3-0": {
"en": "Code refactoring\nBugfix: Unwanted deletion of data points for Germany solved",
"de": "Code Refactoring\nBugfix: Ungewolltes Löschen von Datenpunkten für Deutschland behoben",
"ru": "Рефакторинг кода\nИсправление: решено нежелательное удаление точек данных для Германии.",
"pt": "Refatoração de código\nCorreção de bug: exclusão indesejada de pontos de dados para a Alemanha resolvida",
"nl": "Code refactoring\nBugfix: Ongewenste verwijdering van datapunten voor Duitsland opgelost",
"fr": "Refactorisation de code\nCorrection de bug : la suppression indésirable de points de données pour l'Allemagne a été résolue",
"it": "Refactoring del codice\nBugfix: eliminazione indesiderata di punti dati per la Germania risolta",
"es": "Código de refactorización\nCorrección de error: se solucionó la eliminación no deseada de puntos de datos para Alemania",
"pl": "Refaktoryzacja kodu\nBugfix: Niepożądane usuwanie punktów danych dla Niemiec rozwiązane",
"zh-cn": "代码重构\n错误修正:解决了德国数据点的意外删除问题"
},
"0.8.2": {
"en": "Small code improvements to prepare stable release",
"de": "Kleine Codeverbesserungen zur Vorbereitung einer stabilen Version",
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,15 +594,15 @@ class Covid19 extends utils.Adapter {
&& (this.config.getAllGermanyCounties || selectedGermanyCounties.includes(countyName))) {
await folderStructure();

} else {
} else if (countiesType == 'Kreis') {
await this.localDeleteState(`Germany.${countiesType}.${countyName}`);
}

if (countiesType == 'Stadt'
&& (this.config.getAllGermanyCities || selectedGermanyCities.includes(countyName))) {
await folderStructure();

} else {
} else if (countiesType == 'Stadt') {
await this.localDeleteState(`Germany.${countiesType}.${countyName}`);
}

Expand Down
Loading

0 comments on commit db2d541

Please sign in to comment.