We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae1e425 commit 345bd3fCopy full SHA for 345bd3f
src/commands.ts
@@ -26,7 +26,9 @@ export class Commands {
26
// https://github.com/coder/vscode-coder/issues/44
27
url = "https://" + url
28
}
29
-
+ while (url.endsWith("/")) {
30
+ url = url.substring(0, url.length - 1)
31
+ }
32
let token: string | undefined = args.length >= 2 ? args[1] : undefined
33
if (!token) {
34
const opened = await vscode.env.openExternal(vscode.Uri.parse(`${url}/cli-auth`))
0 commit comments