Skip to content

Commit 77a2391

Browse files
committed
fix: remove redundant then blocks
1 parent 206daed commit 77a2391

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

src/extensionsIntegrated/CustomSnippets/driver.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ define(function (require, exports, module) {
4848

4949
// save to file storage
5050
SnippetsState.saveSnippetsToState()
51-
.then(function () {
52-
//
53-
})
5451
.catch(function (error) {
5552
console.error("failed to save custom snippet correctly:", error);
5653
});
@@ -98,9 +95,6 @@ define(function (require, exports, module) {
9895

9996
// save to file storage
10097
SnippetsState.saveSnippetsToState()
101-
.then(function () {
102-
//
103-
})
10498
.catch(function (error) {
10599
console.error("failed to save custom snippet correctly:", error);
106100
});

src/extensionsIntegrated/CustomSnippets/main.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,6 @@ define(function (require, exports, module) {
261261

262262
// load snippets from file storage
263263
SnippetsState.loadSnippetsFromState()
264-
.then(function () {
265-
//
266-
})
267264
.catch(function (error) {
268265
console.error("failed to load custom snippets:", error);
269266
});

src/extensionsIntegrated/CustomSnippets/snippetsList.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,6 @@ ${snippetItem.templateText}`
172172

173173
// save to file storage
174174
SnippetsState.saveSnippetsToState()
175-
.then(function () {
176-
//
177-
})
178175
.catch(function (error) {
179176
console.error("failed to delete custom snippet correctly:", error);
180177
});

0 commit comments

Comments
 (0)