Skip to content

Commit bc868d7

Browse files
committed
chore: fix format failure and remove src/rh-api/gen for gitignore
Signed-off-by: Sonia Sandler <[email protected]>
1 parent 7d9f473 commit bc868d7

File tree

5 files changed

+5148
-4
lines changed

5 files changed

+5148
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ dist
88
/.npmrc
99
output
1010
test-results
11-
src/rh-api/gen

src/authentication.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ import * as extensionApi from '@podman-desktop/api';
2121
import { SubscriptionManagerClientV1 } from './rh-api/rh-api-sm';
2222

2323
export async function initAuthentication(): Promise<SubscriptionManagerClientV1 | undefined> {
24-
const currentSession = await extensionApi.authentication.getSession('redhat.authentication-provider', ['api.iam.registry_service_accounts', 'api.console'], {createIfNone: true});
24+
const currentSession = await extensionApi.authentication.getSession(
25+
'redhat.authentication-provider',
26+
['api.iam.registry_service_accounts', 'api.console'],
27+
{ createIfNone: true },
28+
);
2529

2630
if (!currentSession) {
2731
console.log('unable to connect to Red Hat SSO, please configure the RH authentication');

0 commit comments

Comments
 (0)