Skip to content

Commit

Permalink
Fixed types generation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebjulliand committed Sep 26, 2023
1 parent 4d4423e commit 9f6efd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ async function fixLoginSettings(){
for(const connection of connections){
//privateKey was used to hold privateKeyPath
if('privateKey' in connection){
const privateKey = connection.privateKey as string;
const privateKey = connection["privateKey"] as string;
if(privateKey){
connection.privateKeyPath = privateKey;
}
connection.privateKey = undefined;
delete connection["privateKey"];
update = true;
}

Expand All @@ -140,7 +140,7 @@ async function fixLoginSettings(){

//buttons were added by the login settings page
if(`buttons` in connection) {
connection.buttons = undefined;
delete connection["buttons"];
update = true;
}
}
Expand Down

0 comments on commit 9f6efd7

Please sign in to comment.