Skip to content

Commit e62ff48

Browse files
committed
chore: lint
1 parent 2f5e52d commit e62ff48

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/client.ts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,15 @@ export class NativescriptClient extends BaseClient<NativescriptBackend, Nativesc
2222
* If native client is available it will trigger a native crash.
2323
* Use this only for testing purposes.
2424
*/
25-
public nativeCrash(): void {
26-
this._getBackend().nativeCrash();
27-
}
25+
public nativeCrash(): void {
26+
this._getBackend().nativeCrash();
27+
}
2828

29-
/**
29+
/**
3030
* @inheritDoc
3131
*/
32-
public close(): PromiseLike<boolean> {
32+
public close(): PromiseLike<boolean> {
3333
// As super.close() flushes queued events, we wait for that to finish before closing the native SDK.
34-
return super.close().then((result: boolean) => {
35-
return NSSentry.closeNativeSdk().then(() => result) as PromiseLike<boolean>;
36-
});
37-
}
38-
}
34+
return super.close().then((result: boolean) => NSSentry.closeNativeSdk().then(() => result) as PromiseLike<boolean>);
35+
}
36+
}

0 commit comments

Comments
 (0)