Skip to content

Commit 070df30

Browse files
authored
Merge pull request #14 from GitGuardian/salomevoltz/do-not-always-open-output-channel
fix(output): Do not force opening output panel on startup
2 parents af61623 + 888655a commit 070df30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extension.ts

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

121121
export function activate(context: ExtensionContext) {
122122
// Check if ggshield if available
123-
const outputChannel = window.createOutputChannel("GGShield Resolver");
123+
const outputChannel = window.createOutputChannel("GitGuardian");
124124
let configuration = createDefaultConfiguration(context);
125125
let authStatus: boolean = false;
126126
const ggshieldResolver = new GGShieldResolver(
@@ -222,6 +222,7 @@ export function activate(context: ExtensionContext) {
222222
}
223223
),
224224
commands.registerCommand("gitguardian.authenticate", async () => {
225+
outputChannel.show();
225226
const isAuthenticated = await loginGGShield(
226227
ggshieldResolver.configuration,
227228
outputChannel

0 commit comments

Comments
 (0)