Skip to content

Commit e18c6ac

Browse files
author
Giovanni D'Andrea
committed
fix: removed right click login action
1 parent a80d18a commit e18c6ac

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

codeishot_extension/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333
"editor/context": [
3434
{
3535
"command": "extension.postSnippet"
36-
},
37-
{
38-
"command": "extension.login"
3936
}
4037
]
4138
},

codeishot_extension/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ function activate(context: vscode.ExtensionContext) {
154154
if (uri.path === "/login") {
155155
const jwtParam = uri.query.split("=")[1];
156156
if (jwtParam) {
157-
saveToken(jwtParam);
158157
vscode.window.showInformationMessage("Logged Successfully! ✨");
158+
saveToken(jwtParam);
159159
}
160160
}
161161
},

0 commit comments

Comments
 (0)