Skip to content

Commit afd80ea

Browse files
committed
Reset octokit on logging change to enable logging
1 parent a36f1b5 commit afd80ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plus/github/github.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export class GitHubApi implements Disposable {
5050
if (configuration.changed(e, 'proxy')) {
5151
this._proxyAgent = null;
5252
this._octokits.clear();
53+
} else if (configuration.changed(e, 'outputLevel')) {
54+
this._octokits.clear();
5355
}
5456
}),
5557
configuration.onDidChangeAny(e => {

0 commit comments

Comments
 (0)