Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Commit 88909fe

Browse files
committed
build: fix tslint
1 parent 20531d5 commit 88909fe

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ export async function register(
539539

540540
// Close connections for removed workspaces
541541
const removed = differenceBy(before, after, root => root.uri.toString())
542+
// tslint:disable-next-line no-floating-promises
542543
Promise.all(
543544
removed.map(async root => {
544545
try {

tslint.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"extends": ["@sourcegraph/tslint-config"]
2+
"extends": ["@sourcegraph/tslint-config"],
3+
"rules": {
4+
"await-promise": [true, "PromiseLike"]
5+
}
36
}

0 commit comments

Comments
 (0)