Skip to content

Commit bfae09e

Browse files
authored
Fixes SnapshotAutoUpdater to prevent from exit when an error occurs (#190)
1 parent cea8ab8 commit bfae09e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "switcher-client",
3-
"version": "4.1.0",
3+
"version": "4.1.1",
44
"description": "Client JS SDK for working with Switcher-API",
55
"main": "./switcher-client.js",
66
"type": "module",
@@ -30,15 +30,15 @@
3030
"src/"
3131
],
3232
"devDependencies": {
33-
"@babel/eslint-parser": "^7.24.5",
34-
"@typescript-eslint/eslint-plugin": "^7.8.0",
35-
"@typescript-eslint/parser": "^7.8.0",
33+
"@babel/eslint-parser": "^7.24.6",
34+
"@typescript-eslint/eslint-plugin": "^7.12.0",
35+
"@typescript-eslint/parser": "^7.12.0",
3636
"c8": "^9.1.0",
3737
"chai": "^5.1.1",
3838
"eslint": "^8.57.0",
3939
"mocha": "^10.4.0",
4040
"mocha-sonarqube-reporter": "^1.0.2",
41-
"sinon": "^17.0.2"
41+
"sinon": "^18.0.0"
4242
},
4343
"repository": {
4444
"type": "git",

src/lib/utils/snapshotAutoUpdater.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export default class SnapshotAutoUpdater {
1111
const updated = await checkSnapshot();
1212
success(updated);
1313
} catch (err) {
14-
this.terminate();
1514
reject(err);
1615
}
1716
}, interval * 1000);

0 commit comments

Comments
 (0)