Skip to content

Commit 282bf2b

Browse files
authored
Fixes SnapshotAutoUpdater to prevent from exit when an error occurs (#75)
1 parent 96d1f9a commit 282bf2b

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
with:
1919
fetch-depth: 0
2020

21-
- name: Setup Deno v1.43.4
21+
- name: Setup Deno v1.44.0
2222
uses: denoland/setup-deno@v1
2323
with:
24-
deno-version: v1.43.4
24+
deno-version: v1.44.0
2525

2626
- name: Setup LCOV
2727
run: sudo apt install -y lcov

.github/workflows/staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
deno:
88
description: 'Deno version'
99
required: true
10-
default: 'v1.43.x'
10+
default: 'v1.44.x'
1111
os:
1212
description: 'Operating System (ubuntu-20.04, ubuntu-latest, windows-latest)'
1313
required: true

deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@switcherapi/switcher-client-deno",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Switcher4Deno is a Feature Flag Deno Client SDK for Switcher API",
55
"tasks": {
66
"cache-reload": "deno cache --reload --lock=deno.lock --lock-write mod.ts",

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sonar.projectKey=switcherapi_switcher-client-deno
22
sonar.projectName=switcher-client-deno
33
sonar.organization=switcherapi
4-
sonar.projectVersion=2.0.1
4+
sonar.projectVersion=2.0.2
55

66
sonar.javascript.lcov.reportPaths=coverage/report.lcov
77

src/lib/utils/snapshotAutoUpdater.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export default class SnapshotAutoUpdater {
1616
const updated = await checkSnapshot();
1717
success(updated);
1818
} catch (err) {
19-
this.terminate();
2019
reject(err);
2120
}
2221
}, interval * 1000);

0 commit comments

Comments
 (0)