Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/utils/authenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
// TODO: Gather environment variables in a safer way - e.g. during extension activation
// biome-ignore lint/style/noNonNullAssertion: false positive
const url = new URL(process.env.LOCALSTACK_WEB_AUTH_REDIRECT!);
url.searchParams.set("editor", env.uriScheme);
url.searchParams.set("windowId", redirectSearchParams.get("windowId") ?? "");

const selection = await window.showInformationMessage(
Expand Down Expand Up @@ -113,7 +114,7 @@

outputChannel.error(error);

window

Check warning on line 117 in src/utils/authenticate.ts

View workflow job for this annotation

GitHub Actions / Lint

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
.showErrorMessage(
`Failed to save auth token to ${LOCALSTACK_AUTH_FILENAME_READABLE}`,
"View Logs",
Expand Down
Loading