Skip to content

Commit

Permalink
remove extra code src/storage/connectionStorage.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Anna Henningsen <[email protected]>
  • Loading branch information
Anemy and addaleax authored Dec 18, 2023
1 parent 705aa7b commit 6f77da8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/storage/connectionStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,7 @@ export class ConnectionStorage {
return (
await Promise.all(
globalAndWorkspaceConnections.map(async (connectionInfo) => {
const connectionInfoWithSecrets =
await this._getConnectionInfoWithSecrets(connectionInfo);
if (!connectionInfoWithSecrets) {
return;
}

return connectionInfoWithSecrets;
return await this._getConnectionInfoWithSecrets(connectionInfo);
})
)
).filter((connection) => !!connection) as LoadedConnection[];
Expand Down

0 comments on commit 6f77da8

Please sign in to comment.