Skip to content

Commit 2ff0f6b

Browse files
authored
chore: silence false positives for biome rule lint/style/noNonNullAssertion (#9)
1 parent 1f67e74 commit 2ff0f6b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/utils/authenticate.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ async function redirectToLocalStack() {
6060
);
6161
const redirectSearchParams = new URLSearchParams(redirectUri.query);
6262

63+
// TODO: Gather environment variables in a safer way - e.g. during extension activation
64+
// biome-ignore lint/style/noNonNullAssertion: false positive
6365
const url = new URL(process.env.LOCALSTACK_WEB_AUTH_REDIRECT!);
6466
url.searchParams.set("windowId", redirectSearchParams.get("windowId") ?? "");
6567

src/utils/container-status.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export async function createContainerStatusTracker(
4040

4141
return {
4242
status() {
43+
// biome-ignore lint/style/noNonNullAssertion: false positive
4344
return status!;
4445
},
4546
onChange(callback) {

0 commit comments

Comments
 (0)