Skip to content

Commit

Permalink
fix: fix login in linux without xdg-open (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-paperspace authored Jun 15, 2023
1 parent 2bb6317 commit 76d0846
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion commands/login/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export const login = command("login", {

if (!apiKey) {
try {
open(new URL("settings/apikeys", env.get("PAPERSPACE_CONSOLE_URL")) + "");
await open(
new URL("settings/apikeys", env.get("PAPERSPACE_CONSOLE_URL")) + "",
);
} catch (_err) {
// do nothing it's all good
}
Expand Down

0 comments on commit 76d0846

Please sign in to comment.