Skip to content

Commit 2754c9f

Browse files
authored
Merge branch 'main' into salomevoltz/hide-quota-view-when-unauthenticated
2 parents c3c51d8 + 070df30 commit 2754c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ function registerQuotaViewCommands(view: GitGuardianQuotaWebviewProvider) {
120120

121121
export function activate(context: ExtensionContext) {
122122
// Check if ggshield if available
123-
commands.executeCommand('setContext', 'isAuthenticated', false);
124-
const outputChannel = window.createOutputChannel("GGShield Resolver");
123+
const outputChannel = window.createOutputChannel("GitGuardian");
125124
let configuration = createDefaultConfiguration(context);
126125
let authStatus: boolean = false;
127126
const ggshieldResolver = new GGShieldResolver(
@@ -225,6 +224,7 @@ export function activate(context: ExtensionContext) {
225224
}
226225
),
227226
commands.registerCommand("gitguardian.authenticate", async () => {
227+
outputChannel.show();
228228
const isAuthenticated = await loginGGShield(
229229
ggshieldResolver.configuration,
230230
outputChannel

0 commit comments

Comments
 (0)